change orientation html5 workaround for touch events
This commit is contained in:
committed by
Joshua Granick
parent
08b0a3c165
commit
e6a83d97b8
@@ -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))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user