diff options
author | Adam Scott <ascott.ca@gmail.com> | 2024-02-03 12:09:43 -0500 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2024-02-03 12:31:50 -0500 |
commit | 344ee36bfec57b5c737c26a6fbd0edf62a488eae (patch) | |
tree | d086408c2fe5c6391ce62d3e2a83369aec50f91b /core/config | |
parent | 1c8ae43efefa679ed01ddefb38ccf2c1e52abb22 (diff) | |
download | redot-engine-344ee36bfec57b5c737c26a6fbd0edf62a488eae.tar.gz |
Fix `display/window/size/window_{width,height}_override` set `0`
Diffstat (limited to 'core/config')
-rw-r--r-- | core/config/project_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index 90e2e27320..329af9068e 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1410,8 +1410,8 @@ ProjectSettings::ProjectSettings() { GLOBAL_DEF("display/window/size/extend_to_title", 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_height_override", PROPERTY_HINT_RANGE, "1,4320,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, "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.editor", false); |