mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-28 08:13:14 +00:00
Update action-navigate widget with metakeys to match link widget
This commit is contained in:
parent
31c1584b9a
commit
a0a0df9655
|
@ -70,7 +70,12 @@ NavigateWidget.prototype.invokeAction = function(triggeringWidget,event) {
|
||||||
navigateFromNode: triggeringWidget,
|
navigateFromNode: triggeringWidget,
|
||||||
navigateFromClientRect: bounds && { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height
|
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
|
return true; // Action was invoked
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user