From 361dc194ee1fc3cc9f8bcad6901a7fe00dd88a2b Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Thu, 31 Oct 2019 14:46:29 +0900 Subject: [PATCH] Support ctrl key to select tabs for Windows --- .../@node-red/editor-client/src/js/ui/common/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js index 0d371e56f..249d7daa7 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js @@ -218,7 +218,7 @@ RED.tabs = (function() { var thisTab = $(this).parent(); var fireSelectionChanged = false; if (options.onselect) { - if (evt.metaKey) { + if (evt.metaKey || evt.ctrlKey) { if (thisTab.hasClass("selected")) { thisTab.removeClass("selected"); if (thisTab[0] !== currentTab[0]) {