mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Fix for wrong keycode when shift is pressed (#4898)
This commit is contained in:
parent
91e9a88e3a
commit
3fc2d7cc5a
|
@ -37,7 +37,7 @@ export const historyHelper = mixins(debounceHelper, deviceSupportHelpers).extend
|
|||
const currentNodeViewTab = getNodeViewTab(this.$route);
|
||||
|
||||
if (event.repeat || currentNodeViewTab !== MAIN_HEADER_TABS.WORKFLOW) return;
|
||||
if (this.isCtrlKeyPressed(event) && event.key === 'z') {
|
||||
if (this.isCtrlKeyPressed(event) && event.key.toLowerCase() === 'z') {
|
||||
event.preventDefault();
|
||||
if (!this.isNDVOpen) {
|
||||
if (event.shiftKey) {
|
||||
|
|
Loading…
Reference in a new issue