diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-03-31 12:50:24 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-01-04 13:59:16 +0000 |
commit | f107139979d55eaa2f3ddc41f2c7d7895801f2e5 (patch) | |
tree | 4bf40dc96048d8befe38340dbecdc576c65cf750 /platform/android/export | |
parent | e432181dc3788d3e3454b02e143a823f26e17bcc (diff) |
Rename Project Window width and height settings to match their function
Diffstat (limited to 'platform/android/export')
-rw-r--r-- | platform/android/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 8997d31e1f..a60716683b 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1514,7 +1514,7 @@ String EditorExportPlatformAndroid::load_splash_refs(Ref<Image> &splash_image, R } if (scale_splash) { - Size2 screen_size = Size2(ProjectSettings::get_singleton()->get("display/window/size/width"), ProjectSettings::get_singleton()->get("display/window/size/height")); + Size2 screen_size = Size2(ProjectSettings::get_singleton()->get("display/window/size/viewport_width"), ProjectSettings::get_singleton()->get("display/window/size/viewport_height")); int width, height; if (screen_size.width > screen_size.height) { // scale horizontally |