mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +03:00
MouseTracker contextmenu enabled by default
This commit is contained in:
parent
73dc6895f1
commit
4b40400cd3
@ -3240,8 +3240,8 @@
|
|||||||
case 'contextmenu':
|
case 'contextmenu':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStopable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = tracker.hasContextMenuHandler;
|
eventInfo.preventDefault = false;//tracker.hasContextMenuHandler;
|
||||||
eventInfo.preventGesture = !tracker.hasContextMenuHandler;
|
eventInfo.preventGesture = true;//!tracker.hasContextMenuHandler;
|
||||||
eventInfo.stopPropagation = false;
|
eventInfo.stopPropagation = false;
|
||||||
break;
|
break;
|
||||||
case 'pointerenter':
|
case 'pointerenter':
|
||||||
|
Loading…
Reference in New Issue
Block a user