prevent multi-points errors on ipad

This commit is contained in:
SangYeob Yu 2019-12-18 16:48:15 +09:00
parent e79e132cd9
commit 4a3f79e305
No known key found for this signature in database
GPG Key ID: 75695C78C073ECCD

View File

@ -2959,7 +2959,7 @@
} }
// OS-specific gestures (e.g. swipe up with four fingers in iPadOS 13) // OS-specific gestures (e.g. swipe up with four fingers in iPadOS 13)
if (gPoints[ 0 ].type === "touch" && typeof gPoints[ 0 ].currentPos === "undefined") { if (typeof gPoints[ 0 ].currentPos === "undefined") {
abortContacts(tracker, event, pointsList); abortContacts(tracker, event, pointsList);
return false; return false;