ui scale???

This commit is contained in:
RandomityGuy 2022-12-22 10:08:57 +05:30
parent a913bded14
commit 9edd1a1fcb

View file

@ -238,6 +238,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;