diff --git a/Export/android/app/src/main/AndroidManifest.xml b/Export/android/app/src/main/AndroidManifest.xml index fd020e00..e23ff63f 100644 --- a/Export/android/app/src/main/AndroidManifest.xml +++ b/Export/android/app/src/main/AndroidManifest.xml @@ -17,6 +17,7 @@ diff --git a/src/Main.hx b/src/Main.hx index 5afa4da3..77d45ecd 100644 --- a/src/Main.hx +++ b/src/Main.hx @@ -41,7 +41,7 @@ class Main extends hxd.App { s2d.scaleMode = Zoom(zoomRatio); #end #if android - var zoomRatio = Window.getInstance().height / 768; + var zoomRatio = Window.getInstance().height / 700; s2d.scaleMode = Zoom(zoomRatio); #end diff --git a/src/Settings.hx b/src/Settings.hx index f79f7cda..30e31e30 100644 --- a/src/Settings.hx +++ b/src/Settings.hx @@ -406,7 +406,8 @@ class Settings { public static function init() { load(); #if hl - Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight); + Window.getInstance().resize(Window.getInstance().width, Window.getInstance().height); + // Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight); Window.getInstance().displayMode = optionsSettings.isFullScreen ? FullscreenResize : Windowed; #end #if js @@ -421,7 +422,7 @@ class Settings { Settings.zoomRatio = zoomRatio; #end #if android - var zoomRatio = Window.getInstance().height / 768; + var zoomRatio = Window.getInstance().height / 700; Settings.zoomRatio = zoomRatio; #end #if hl