mirror of
https://github.com/danbulant/Mangades
synced 2026-07-07 03:51:00 +00:00
allow zoom
This commit is contained in:
parent
5c50b5447e
commit
b9a9aec1d2
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@
|
||||||
|
|
||||||
var xUp = evt.touches[0].clientX;
|
var xUp = evt.touches[0].clientX;
|
||||||
var yUp = evt.touches[0].clientY;
|
var yUp = evt.touches[0].clientY;
|
||||||
|
if(evt.touches[1]) return; // allow zoom
|
||||||
|
|
||||||
var xDiff = xDown - xUp;
|
var xDiff = xDown - xUp;
|
||||||
var yDiff = yDown - yUp;
|
var yDiff = yDown - yUp;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue