mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 13:11:42 +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() {
|
public static function applySettings() {
|
||||||
#if hl
|
#if hl
|
||||||
Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight);
|
Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight);
|
||||||
Window.getInstance().displayMode = optionsSettings.isFullScreen ? Fullscreen : Windowed;
|
Window.getInstance().displayMode = optionsSettings.isFullScreen ? Borderless : Windowed;
|
||||||
#end
|
#end
|
||||||
AudioManager.updateVolumes();
|
AudioManager.updateVolumes();
|
||||||
|
|
||||||
|
|
@ -305,7 +305,7 @@ class Settings {
|
||||||
load();
|
load();
|
||||||
#if hl
|
#if hl
|
||||||
Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight);
|
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;
|
uiScale = 1 / Window.getInstance().windowToPixelRatio;
|
||||||
#end
|
#end
|
||||||
#if js
|
#if js
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue