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

beta.r3js.org
-=yb4f310 2017-11-19 20:12:13 +01:00
parent b1cf96d00a
commit 4933f49808
1 changed files with 11 additions and 5 deletions

View File

@ -10,16 +10,22 @@ if (!this.initialized) {
} }
if (data.meta.zoom || data.meta.outward) { if (data.meta.zoom || data.meta.outward) {
if (this.requested) {
return;
}
if (!this.dom.fullscreen) { if (!this.dom.fullscreen) {
this.dom.requestFullscreen(); this.dom.requestFullscreen();
this.requested = true;
} }
} }
if (data.meta.pinch || data.meta.inward) { //if (data.meta.pinch || data.meta.inward) {
if (this.dom.fullscreen) { // if (this.dom.fullscreen) {
this.dom.exitFullscreen(); // this.dom.exitFullscreen();
} // }
} //}
if (!this.initialized) { if (!this.initialized) {