Merge pull request #1756 from lunit-io/fix-multitouch

prevents multi-touch issue on ipad
This commit is contained in:
Ian Gilman 2019-12-19 09:51:34 -08:00 committed by GitHub
commit 889bbce108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2959,7 +2959,7 @@
}
// 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);
return false;