allow zoom

This commit is contained in:
Daniel Bulant 2021-05-23 17:44:55 +02:00
parent 5c50b5447e
commit b9a9aec1d2

View file

@ -90,6 +90,7 @@
var xUp = evt.touches[0].clientX;
var yUp = evt.touches[0].clientY;
if(evt.touches[1]) return; // allow zoom
var xDiff = xDown - xUp;
var yDiff = yDown - yUp;