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

beta.r3js.org
-=yb4f310 2017-11-19 20:20:39 +01:00
parent cdf0085d60
commit 2229f3c9ea
1 changed files with 12 additions and 10 deletions

View File

@ -2,14 +2,6 @@ if (!this.entityLoaded) {
return;
}
/*
*/
//if (data.meta.pinch || data.meta.inward) {
// if (this.dom.fullscreen) {
// this.dom.exitFullscreen();
// }
//}
if (!this.initialized) {
@ -22,10 +14,20 @@ if (!this.initialized) {
}
if (data.meta.zoom || data.meta.outward) {
if (!this.dom.fullscreen && !this.requested) {
/* if (!this.dom.fullscreen && !this.requested) {
console.log('requesting fullscreen');
this.dom.requestFullscreen();
this.requested = true;
}
}*/
/*
*/
//if (data.meta.pinch || data.meta.inward) {
// if (this.dom.fullscreen) {
// this.dom.exitFullscreen();
// }
//}
}
var touch = data[Object.keys(data)[0]];