From 916d377aaa2fbc5761bf74dca74da080d3e90099 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sun, 28 Feb 2021 10:29:54 +0000 Subject: [PATCH] Fix handling of + in shortcuts --- .../node_modules/@node-red/editor-client/src/js/keymap.json | 2 +- .../node_modules/@node-red/editor-client/src/js/ui/keyboard.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/keymap.json b/packages/node_modules/@node-red/editor-client/src/js/keymap.json index cd6d2e384..5a024a89f 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/keymap.json +++ b/packages/node_modules/@node-red/editor-client/src/js/keymap.json @@ -3,7 +3,7 @@ "alt-shift-p":"core:manage-palette", "ctrl-f": "core:search", "ctrl-shift-f": "core:list-flows", - "ctrl-=": "core:zoom-in", + "ctrl-+": "core:zoom-in", "ctrl--": "core:zoom-out", "ctrl-0": "core:zoom-reset", "ctrl-enter": "core:confirm-edit-tray", diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/keyboard.js b/packages/node_modules/@node-red/editor-client/src/js/ui/keyboard.js index 0d1c72231..d5ba80273 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/keyboard.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/keyboard.js @@ -34,6 +34,7 @@ RED.keyboard = (function() { "space": 32, ";":186, "=":187, + "+":187, // <- QWERTY specific ",":188, "-":189, ".":190,