mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-02 21:36:11 +03:00
Ensure capture released in abortTouchContacts()
This commit is contained in:
parent
00aae52a08
commit
8e5e2168c8
1 changed files with 3 additions and 0 deletions
|
@ -1861,6 +1861,9 @@
|
|||
if ( abortGPoints.length > 0 ) {
|
||||
// simulate touchend
|
||||
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
|
||||
updatePointersExit( tracker, event, abortGPoints );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue