Update action-navigate widget with metakeys to match link widget

new-json-store-area
jeremy@jermolene.com 2021-06-30 16:11:21 +01:00
rodzic 31c1584b9a
commit a0a0df9655
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -70,7 +70,12 @@ NavigateWidget.prototype.invokeAction = function(triggeringWidget,event) {
navigateFromNode: triggeringWidget,
navigateFromClientRect: bounds && { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height
},
navigateSuppressNavigation: suppressNavigation
navigateSuppressNavigation: suppressNavigation,
metaKey: event.metaKey,
ctrlKey: event.ctrlKey,
altKey: event.altKey,
shiftKey: event.shiftKey,
event: event
});
return true; // Action was invoked
};