mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 23:21:42 +03:00
Ensure capture released in abortTouchContacts()
This commit is contained in:
parent
00aae52a08
commit
8e5e2168c8
@ -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…
x
Reference in New Issue
Block a user