Merge pull request #59246 from Sauermann/fix-setting-name-shrink-scale
Rename Project setting display/window/stretch/shrink to scale
This commit is contained in:
commit
0eb7f62bb5
@ -2399,10 +2399,10 @@ bool Main::start() {
|
|||||||
"display/window/stretch/aspect",
|
"display/window/stretch/aspect",
|
||||||
PROPERTY_HINT_ENUM,
|
PROPERTY_HINT_ENUM,
|
||||||
"ignore,keep,keep_width,keep_height,expand"));
|
"ignore,keep,keep_width,keep_height,expand"));
|
||||||
GLOBAL_DEF_BASIC("display/window/stretch/shrink", 1.0);
|
GLOBAL_DEF_BASIC("display/window/stretch/scale", 1.0);
|
||||||
ProjectSettings::get_singleton()->set_custom_property_info("display/window/stretch/shrink",
|
ProjectSettings::get_singleton()->set_custom_property_info("display/window/stretch/scale",
|
||||||
PropertyInfo(Variant::FLOAT,
|
PropertyInfo(Variant::FLOAT,
|
||||||
"display/window/stretch/shrink",
|
"display/window/stretch/scale",
|
||||||
PROPERTY_HINT_RANGE,
|
PROPERTY_HINT_RANGE,
|
||||||
"1.0,8.0,0.1"));
|
"1.0,8.0,0.1"));
|
||||||
sml->set_auto_accept_quit(GLOBAL_DEF("application/config/auto_accept_quit", true));
|
sml->set_auto_accept_quit(GLOBAL_DEF("application/config/auto_accept_quit", true));
|
||||||
|
Loading…
Reference in New Issue
Block a user