Another problem with release handler: a point instace could be undefined.

This commit is contained in:
Jirka 2022-04-16 16:53:30 +02:00
parent 3dc1fc87b1
commit b2eda881e8

View File

@ -3561,7 +3561,7 @@
eventInfo.shouldReleaseCapture = false; eventInfo.shouldReleaseCapture = false;
// Release (pressed in another element) // Release (pressed in another element)
if ( tracker.releaseHandler ) { if ( tracker.releaseHandler && releasePoint ) {
tracker.releaseHandler( tracker.releaseHandler(
{ {
eventSource: tracker, eventSource: tracker,