diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-18 08:21:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 08:21:22 +0100 |
commit | 0eb7f62bb555d67f0d63f6bc76c9b3fbb3b92e4e (patch) | |
tree | ccefe11a3e9a58791e206d7cd9cb260066c06f4e | |
parent | 4d69b11304f611b3cd1fca238d9a6fa51c56a117 (diff) | |
parent | 150161da335b89c2529e616cf0128ad501796d58 (diff) |
Merge pull request #59246 from Sauermann/fix-setting-name-shrink-scale
Rename Project setting display/window/stretch/shrink to scale
-rw-r--r-- | main/main.cpp | 6 |
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)); |