From bb0e3535f23680d4f0bcd7a8d5808c55e83ae8c1 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Sun, 24 Dec 2023 18:31:54 +0530 Subject: [PATCH] fix 2 --- src/Settings.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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