Update: CC - Touch Move (c55930et90.js) 46 bytes modified
parent
cdf0085d60
commit
2229f3c9ea
|
@ -2,14 +2,6 @@ if (!this.entityLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
*/
|
|
||||||
//if (data.meta.pinch || data.meta.inward) {
|
|
||||||
// if (this.dom.fullscreen) {
|
|
||||||
// this.dom.exitFullscreen();
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
if (!this.initialized) {
|
if (!this.initialized) {
|
||||||
|
|
||||||
|
@ -22,10 +14,20 @@ if (!this.initialized) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.meta.zoom || data.meta.outward) {
|
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.dom.requestFullscreen();
|
||||||
this.requested = true;
|
this.requested = true;
|
||||||
}
|
}*/
|
||||||
|
/*
|
||||||
|
|
||||||
|
*/
|
||||||
|
//if (data.meta.pinch || data.meta.inward) {
|
||||||
|
// if (this.dom.fullscreen) {
|
||||||
|
// this.dom.exitFullscreen();
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var touch = data[Object.keys(data)[0]];
|
var touch = data[Object.keys(data)[0]];
|
||||||
|
|
Loading…
Reference in New Issue