From 09f3789bb2454f3f408aeba48646768297e3201a Mon Sep 17 00:00:00 2001 From: stemsteamcoder <146603825+stemsteamcoder@users.noreply.github.com> Date: Sat, 22 Nov 2025 15:41:42 -0300 Subject: [PATCH] setRetinaScaling() unintended effects corrected Disabled setRetinaScaling() lines: window.size *= 2 # TBD: Double the Viewport size? window.move_to_center() because window was being set to double the intended size and an unintended position. --- AutoLoad/GlobalUI.gd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AutoLoad/GlobalUI.gd b/AutoLoad/GlobalUI.gd index 72858630..a4c1c111 100644 --- a/AutoLoad/GlobalUI.gd +++ b/AutoLoad/GlobalUI.gd @@ -100,8 +100,10 @@ func setRetinaScaling() -> void: Debug.printAutoLoadLog(str("DisplayServer screen scale: ", DisplayServer.screen_get_scale())) var window: Window = self.get_window() # window.content_scale_factor = 2.0 # UNUSED: Doubling the window size doubles the pixels anyway, right? - window.size *= 2 # TBD: Double the Viewport size? - window.move_to_center() + + ## Those two lines are glitching the user intended window size and position when fullscreen: + #window.size *= 2 # TBD: Double the Viewport size? + #window.move_to_center() #endregion