diff --git a/Sources/arm/App.hx b/Sources/arm/App.hx index d76deac6..79e3e790 100644 --- a/Sources/arm/App.hx +++ b/Sources/arm/App.hx @@ -253,6 +253,7 @@ class App { #if arm_resizable static function onResize() { + if (System.windowWidth() == 0 || System.windowHeight() == 0) return; resize(); var ratio = System.windowHeight() / lastWindowHeight;