Ensure capture released in abortTouchContacts()

This commit is contained in:
Mark Salsbery 2015-01-16 08:33:34 -08:00
parent 00aae52a08
commit 8e5e2168c8

View File

@ -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 );
}