From cdf0085d607b05bfc5017997672ef2dcb8a3558f Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 19 Nov 2017 20:18:59 +0100 Subject: [PATCH] Update: CC - Touch Move (c55930et90.js) 19 bytes modified --- c55930et90.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/c55930et90.js b/c55930et90.js index fc47790..6901fab 100644 --- a/c55930et90.js +++ b/c55930et90.js @@ -3,17 +3,7 @@ if (!this.entityLoaded) { } /* -if (data.meta.zoom || data.meta.outward) { - - if (this.requested) { - return; - } - - if (!this.dom.fullscreen) { - this.dom.requestFullscreen(); - this.requested = true; - } -} + */ //if (data.meta.pinch || data.meta.inward) { // if (this.dom.fullscreen) { @@ -31,6 +21,13 @@ if (!this.initialized) { this.initialized = true; } +if (data.meta.zoom || data.meta.outward) { + if (!this.dom.fullscreen && !this.requested) { + this.dom.requestFullscreen(); + this.requested = true; + } +} + var touch = data[Object.keys(data)[0]]; var sensitivity = 1;