change orientation html5 workaround for touch events

This commit is contained in:
Ilya Kolbin
2016-01-20 00:11:31 +03:00
committed by Joshua Granick
parent 08b0a3c165
commit e6a83d97b8

View File

@@ -370,7 +370,7 @@ class HTML5Window {
private function handleResize ():Void { private function handleResize ():Void {
primaryTouch = null;
var stretch = parent.fullscreen || (setWidth == 0 && setHeight == 0); var stretch = parent.fullscreen || (setWidth == 0 && setHeight == 0);
if (element != null && (div == null || (div != null && stretch))) { if (element != null && (div == null || (div != null && stretch))) {
@@ -742,4 +742,4 @@ class HTML5Window {
} }
} }