fix resize

This commit is contained in:
RandomityGuy 2023-12-24 18:08:33 +05:30
parent 93832ba62c
commit d6a6c2f05c

View file

@ -165,7 +165,7 @@ class Settings {
public static function applySettings() {
#if hl
Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight);
Window.getInstance().displayMode = optionsSettings.isFullScreen ? FullscreenResize : Windowed;
Window.getInstance().displayMode = optionsSettings.isFullScreen ? Fullscreen : Windowed;
#end
AudioManager.updateVolumes();