diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-08-22 08:30:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-22 08:30:21 +0200 |
commit | 9396d408c889a263140b8fa45cbcbf80cafa9bb3 (patch) | |
tree | 7dbe1bc30ed3b6f554fe490f3f0fc2ee5a2a35c2 /main/main.cpp | |
parent | ba96f31fad96b42d10a54fe968cee484b03d1bb5 (diff) | |
parent | 50187eb272cc097b2529ff0c0440ca49c4b765f8 (diff) |
Merge pull request #36872 from Calinou/default-stretch-aspect-expand
Use the `keep` stretch aspect by default
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp index 6764332f16..ee2f22797a 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2203,7 +2203,7 @@ bool Main::start() { //standard helpers that can be changed from main config String stretch_mode = GLOBAL_DEF_BASIC("display/window/stretch/mode", "disabled"); - String stretch_aspect = GLOBAL_DEF_BASIC("display/window/stretch/aspect", "ignore"); + String stretch_aspect = GLOBAL_DEF_BASIC("display/window/stretch/aspect", "keep"); Size2i stretch_size = Size2i(GLOBAL_DEF_BASIC("display/window/size/width", 0), GLOBAL_DEF_BASIC("display/window/size/height", 0)); @@ -2262,7 +2262,7 @@ bool Main::start() { "display/window/stretch/mode", PROPERTY_HINT_ENUM, "disabled,canvas_items,viewport")); - GLOBAL_DEF_BASIC("display/window/stretch/aspect", "ignore"); + GLOBAL_DEF_BASIC("display/window/stretch/aspect", "keep"); ProjectSettings::get_singleton()->set_custom_property_info("display/window/stretch/aspect", PropertyInfo(Variant::STRING, "display/window/stretch/aspect", |