diff --git a/src/Settings.hx b/src/Settings.hx index 0f0eabb7..d0e84aca 100644 --- a/src/Settings.hx +++ b/src/Settings.hx @@ -346,6 +346,7 @@ class Settings { #if hl Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight); Window.getInstance().displayMode = optionsSettings.isFullScreen ? FullscreenResize : Windowed; + uiScale = Window.getInstance().windowToPixelRatio; #end #if js Window.getInstance().propagateKeyEvents = true;