summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-03-17 19:30:32 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-03-17 19:30:32 +0100
commit150161da335b89c2529e616cf0128ad501796d58 (patch)
tree1bb4e68aa05016f4a0a98d1ecb2dcd1ed467eb82 /main
parent60e5bf383e70e7ffccae8962dc7c54a0e1975258 (diff)
Rename Project setting display/window/stretch/shrink to scale
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/main.cpp b/main/main.cpp
index f0e74c3bb7..6134ad5146 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2399,10 +2399,10 @@ bool Main::start() {
"display/window/stretch/aspect",
PROPERTY_HINT_ENUM,
"ignore,keep,keep_width,keep_height,expand"));
- GLOBAL_DEF_BASIC("display/window/stretch/shrink", 1.0);
- ProjectSettings::get_singleton()->set_custom_property_info("display/window/stretch/shrink",
+ GLOBAL_DEF_BASIC("display/window/stretch/scale", 1.0);
+ ProjectSettings::get_singleton()->set_custom_property_info("display/window/stretch/scale",
PropertyInfo(Variant::FLOAT,
- "display/window/stretch/shrink",
+ "display/window/stretch/scale",
PROPERTY_HINT_RANGE,
"1.0,8.0,0.1"));
sml->set_auto_accept_quit(GLOBAL_DEF("application/config/auto_accept_quit", true));