Fix `display/window/size/window_{width,height}_override` set `0`
This commit is contained in:
parent
1c8ae43efe
commit
344ee36bfe
|
@ -1410,8 +1410,8 @@ ProjectSettings::ProjectSettings() {
|
||||||
GLOBAL_DEF("display/window/size/extend_to_title", false);
|
GLOBAL_DEF("display/window/size/extend_to_title", false);
|
||||||
GLOBAL_DEF("display/window/size/no_focus", false);
|
GLOBAL_DEF("display/window/size/no_focus", false);
|
||||||
|
|
||||||
GLOBAL_DEF(PropertyInfo(Variant::INT, "display/window/size/window_width_override", PROPERTY_HINT_RANGE, "1,7680,1,or_greater"), 0); // 8K resolution
|
GLOBAL_DEF(PropertyInfo(Variant::INT, "display/window/size/window_width_override", PROPERTY_HINT_RANGE, "0,7680,1,or_greater"), 0); // 8K resolution
|
||||||
GLOBAL_DEF(PropertyInfo(Variant::INT, "display/window/size/window_height_override", PROPERTY_HINT_RANGE, "1,4320,1,or_greater"), 0); // 8K resolution
|
GLOBAL_DEF(PropertyInfo(Variant::INT, "display/window/size/window_height_override", PROPERTY_HINT_RANGE, "0,4320,1,or_greater"), 0); // 8K resolution
|
||||||
|
|
||||||
GLOBAL_DEF("display/window/energy_saving/keep_screen_on", true);
|
GLOBAL_DEF("display/window/energy_saving/keep_screen_on", true);
|
||||||
GLOBAL_DEF("display/window/energy_saving/keep_screen_on.editor", false);
|
GLOBAL_DEF("display/window/energy_saving/keep_screen_on.editor", false);
|
||||||
|
|
Loading…
Reference in New Issue