fix zoom etc

beta.r3js.org
-=yb4f310 2017-11-19 19:45:39 +01:00
parent 2d5014abb7
commit 6d137b12eb
1 changed files with 3 additions and 3 deletions

View File

@ -672,11 +672,11 @@ GameLib.System.Input.prototype.onTouchMove = function (event) {
}
if (event.changedTouches[0].pageY < event.changedTouches[1].pageY) {
bottomTouch = this.touches[event.changedTouches[0].identifier];
topTouch = this.touches[event.changedTouches[1].identifier];
} else {
bottomTouch = this.touches[event.changedTouches[1].identifier];
topTouch = this.touches[event.changedTouches[0].identifier];
} else {
bottomTouch = this.touches[event.changedTouches[0].identifier];
topTouch = this.touches[event.changedTouches[1].identifier];
}
}