summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRedMser <redmser.jj2@gmail.com>2022-08-06 22:10:24 +0200
committerRedMser <redmser.jj2@gmail.com>2022-08-06 22:10:24 +0200
commitc939f336d6e26bb0d84f23e5a2587bc296b35dbf (patch)
treeef44e76be6b5098ce3a2e2c780dfee0dab8fc086 /doc
parent21f6916ffc52d83ac57b4f412f3eb8d6b40afebe (diff)
Only define `keep_screen_on` project setting once
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/ProjectSettings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 40477d27d4..9df8d2df80 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -549,6 +549,9 @@
<member name="display/window/energy_saving/keep_screen_on" type="bool" setter="" getter="" default="true">
If [code]true[/code], keeps the screen on (even in case of inactivity), so the screensaver does not take over. Works on desktop and mobile platforms.
</member>
+ <member name="display/window/energy_saving/keep_screen_on.editor" type="bool" setter="" getter="" default="false">
+ Editor-only override for [member display/window/energy_saving/keep_screen_on]. Does not affect exported projects in debug or release mode.
+ </member>
<member name="display/window/handheld/orientation" type="int" setter="" getter="" default="0">
The default screen orientation to use on mobile devices. See [enum DisplayServer.ScreenOrientation] for possible values.
[b]Note:[/b] When set to a portrait orientation, this project setting does not flip the project resolution's width and height automatically. Instead, you have to set [member display/window/size/viewport_width] and [member display/window/size/viewport_height] accordingly.