mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Another problem with release handler: a point instace could be undefined.
This commit is contained in:
parent
3dc1fc87b1
commit
b2eda881e8
@ -3561,7 +3561,7 @@
|
||||
eventInfo.shouldReleaseCapture = false;
|
||||
|
||||
// Release (pressed in another element)
|
||||
if ( tracker.releaseHandler ) {
|
||||
if ( tracker.releaseHandler && releasePoint ) {
|
||||
tracker.releaseHandler(
|
||||
{
|
||||
eventSource: tracker,
|
||||
|
Loading…
Reference in New Issue
Block a user