ui scale???

This commit is contained in:
RandomityGuy 2022-12-22 10:08:57 +05:30
parent 034aa75a22
commit cb3e452db6

View file

@ -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;