Update: CC - Touch Move (c55930et90.js) 19 bytes modified

beta.r3js.org
-=yb4f310 2017-11-19 20:18:59 +01:00
parent 520f945f38
commit cdf0085d60
1 changed files with 8 additions and 11 deletions

View File

@ -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;