mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-07 18:39:23 +03:00
Ensure capture released in abortTouchContacts()
This commit is contained in:
parent
00aae52a08
commit
8e5e2168c8
@ -1861,6 +1861,9 @@
|
|||||||
if ( abortGPoints.length > 0 ) {
|
if ( abortGPoints.length > 0 ) {
|
||||||
// simulate touchend
|
// simulate touchend
|
||||||
updatePointersUp( tracker, event, abortGPoints, 0 ); // 0 means primary button press/release or touch contact
|
updatePointersUp( tracker, event, abortGPoints, 0 ); // 0 means primary button press/release or touch contact
|
||||||
|
// release pointer capture
|
||||||
|
pointsList.captureCount = 1;
|
||||||
|
releasePointer( tracker, 'touch' );
|
||||||
// simulate touchleave
|
// simulate touchleave
|
||||||
updatePointersExit( tracker, event, abortGPoints );
|
updatePointersExit( tracker, event, abortGPoints );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user