summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-18 13:39:57 +0100
committerGitHub <noreply@github.com>2022-01-18 13:39:57 +0100
commit7c771ea3101b19600be3c485ddd15da8b2cfb560 (patch)
tree7ebea7a618ce2120e13a74e59001812c92760e52 /platform/android
parent0a67b4639699277648a23f5a47d4b023d951bd6d (diff)
parentf107139979d55eaa2f3ddc41f2c7d7895801f2e5 (diff)
Merge pull request #47522 from madmiraal/rename-test_width-test_height
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index aa44183329..78155fbef3 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