mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix window display shrink can't set to float numbers
This commit is contained in:
parent
cf5eded982
commit
eeacae563c
3 changed files with 4 additions and 4 deletions
|
|
@ -1350,7 +1350,7 @@ bool Main::start() {
|
|||
String stretch_mode = GLOBAL_DEF("display/window/stretch/mode", "disabled");
|
||||
String stretch_aspect = GLOBAL_DEF("display/window/stretch/aspect", "ignore");
|
||||
Size2i stretch_size = Size2(GLOBAL_DEF("display/window/size/width", 0), GLOBAL_DEF("display/window/size/height", 0));
|
||||
int stretch_shrink = GLOBAL_DEF("display/window/stretch/shrink", 1);
|
||||
real_t stretch_shrink = GLOBAL_DEF("display/window/stretch/shrink", 1.0f);
|
||||
|
||||
SceneTree::StretchMode sml_sm = SceneTree::STRETCH_MODE_DISABLED;
|
||||
if (stretch_mode == "2d")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue