mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-25 16:35:57 +00:00
fix 2
This commit is contained in:
parent
d6a6c2f05c
commit
bb0e3535f2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue