mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 13:11:42 +00:00
ui scale???
This commit is contained in:
parent
a913bded14
commit
9edd1a1fcb
1 changed files with 1 additions and 0 deletions
|
|
@ -238,6 +238,7 @@ class Settings {
|
||||||
#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 ? FullscreenResize : Windowed;
|
||||||
|
uiScale = Window.getInstance().windowToPixelRatio;
|
||||||
#end
|
#end
|
||||||
#if js
|
#if js
|
||||||
Window.getInstance().propagateKeyEvents = true;
|
Window.getInstance().propagateKeyEvents = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue