Update: CC - Touch Move (c55930et90.js) 19 bytes modified
parent
520f945f38
commit
cdf0085d60
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue