diff --git a/src/Settings.hx b/src/Settings.hx index 02a631ca..c142dfc2 100644 --- a/src/Settings.hx +++ b/src/Settings.hx @@ -165,7 +165,7 @@ class Settings { public static function applySettings() { #if hl Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight); - Window.getInstance().displayMode = optionsSettings.isFullScreen ? Fullscreen : Windowed; + Window.getInstance().displayMode = optionsSettings.isFullScreen ? Borderless : Windowed; #end AudioManager.updateVolumes(); @@ -305,7 +305,7 @@ class Settings { load(); #if hl Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight); - Window.getInstance().displayMode = optionsSettings.isFullScreen ? FullscreenResize : Windowed; + Window.getInstance().displayMode = optionsSettings.isFullScreen ? Borderless : Windowed; uiScale = 1 / Window.getInstance().windowToPixelRatio; #end #if js