Update: CC - Touch Move (c55930et90.js) 242 bytes modified
parent
5820e305d6
commit
b1cf96d00a
|
@ -1,11 +1,24 @@
|
||||||
var touch = data[Object.keys(data)[0]];
|
if (!this.entityLoaded) {
|
||||||
|
return;
|
||||||
if (data.meta.zoom ) {
|
|
||||||
console.log('zoom');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.meta.outward) {
|
var touch = data[Object.keys(data)[0]];
|
||||||
console.log('outward');
|
|
||||||
|
if (!this.initialized) {
|
||||||
|
this.dom = this.entityLoaded.dom;
|
||||||
|
this.initialized = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.meta.zoom || data.meta.outward) {
|
||||||
|
if (!this.dom.fullscreen) {
|
||||||
|
this.dom.requestFullscreen();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.meta.pinch || data.meta.inward) {
|
||||||
|
if (this.dom.fullscreen) {
|
||||||
|
this.dom.exitFullscreen();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.initialized) {
|
if (!this.initialized) {
|
||||||
|
|
Loading…
Reference in New Issue