limit touchend events

This commit is contained in:
HF 2020-11-06 23:35:44 +01:00
parent af5aa9410e
commit 662dbd4206

View File

@ -216,7 +216,7 @@ class PixelPlainterControls {
event.stopPropagation();
this.clearTabTimeout();
if (event.changedTouches.length < 2) {
if (event.changedTouches.length < 2 && event.touches.length === 0) {
const { pageX, pageY } = event.changedTouches[0];
const { clickTabStartCoords, clickTabStartTime } = this;
const coordsDiff = [