MouseTracker contextmenu enabled by default

This commit is contained in:
Mark Salsbery 2021-02-10 07:29:36 -08:00
parent 73dc6895f1
commit 4b40400cd3

View File

@ -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':