Browse Source

Overlay integer;

bjorn 1 year ago
parent
commit
771b41b5be
2 changed files with 5 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 4 1
      api/lovr/callbacks/conf.lua

+ 1 - 1
api/init.lua

@@ -189,7 +189,7 @@ return {
                     {
                       name = "overlay",
                       type = "boolean",
-                      description = "Whether the project should run as an overlay."
+                      description = "Whether the project should run as an overlay.  Can also be a number to control sort order against other overlays (default is zero, higher numbers go on top)."
                     }
                   }
                 },

+ 4 - 1
api/lovr/callbacks/conf.lua

@@ -187,7 +187,10 @@ return {
             {
               name = 'overlay',
               type = 'boolean',
-              description = 'Whether the project should run as an overlay.'
+              description = [[
+                Whether the project should run as an overlay.  Can also be a number to control sort
+                order against other overlays (default is zero, higher numbers go on top).
+              ]]
             }
           }
         },