mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
prevent multi-points errors on ipad
This commit is contained in:
parent
e79e132cd9
commit
4a3f79e305
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user