浏览代码

Mention that zero window size uses monitor size;

bjorn 9 月之前
父节点
当前提交
00fb77b7e6
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      api/init.lua
  2. 2 2
      api/lovr/callbacks/conf.lua

+ 2 - 2
api/init.lua

@@ -225,12 +225,12 @@ return {
                     {
                       name = "width",
                       type = "number",
-                      description = "The width of the window."
+                      description = "The width of the window (or 0 to use the monitor width)."
                     },
                     {
                       name = "height",
                       type = "number",
-                      description = "The height of the window."
+                      description = "The height of the window (or 0 to use the monitor height) ."
                     },
                     {
                       name = "fullscreen",

+ 2 - 2
api/lovr/callbacks/conf.lua

@@ -233,12 +233,12 @@ return {
             {
               name = 'width',
               type = 'number',
-              description = 'The width of the window.'
+              description = 'The width of the window (or 0 to use the monitor width).'
             },
             {
               name = 'height',
               type = 'number',
-              description = 'The height of the window.'
+              description = 'The height of the window (or 0 to use the monitor height) .'
             },
             {
               name = 'fullscreen',