1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix handling of user-provided keymap

Fixes #2926
This commit is contained in:
Nick O'Leary 2021-04-10 21:34:26 +01:00
parent 749533b0b4
commit 6087002562
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -119,7 +119,7 @@ RED.keyboard = (function() {
} else {
mergedKeymap[action] = [{
scope: themeKeymap[action].scope || "*",
key: [themeKeymap[action].key],
key: themeKeymap[action].key,
user: false
}]
if (mergedKeymap[action][0].scope === "workspace") {