Allow setting a window stretch scale below 1.0

This commit is contained in:
Aaron Franke 2022-07-26 20:31:30 -05:00
parent abb44676e0
commit 6f333ba2bf
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF

View file

@ -2576,7 +2576,7 @@ bool Main::start() {
PropertyInfo(Variant::FLOAT, PropertyInfo(Variant::FLOAT,
"display/window/stretch/scale", "display/window/stretch/scale",
PROPERTY_HINT_RANGE, PROPERTY_HINT_RANGE,
"1.0,8.0,0.1")); "0.5,8.0,0.01"));
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));
sml->set_quit_on_go_back(GLOBAL_DEF("application/config/quit_on_go_back", true)); sml->set_quit_on_go_back(GLOBAL_DEF("application/config/quit_on_go_back", true));
GLOBAL_DEF_BASIC("gui/common/snap_controls_to_pixels", true); GLOBAL_DEF_BASIC("gui/common/snap_controls_to_pixels", true);