From 6bd4fba77f7f78954ea4221b082576d672fd8971 Mon Sep 17 00:00:00 2001 From: Yoonchae Lee Date: Wed, 12 Jul 2023 01:10:22 +0900 Subject: [PATCH] make right ctrl + left click work to make field editable --- src/addon/web/global_card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addon/web/global_card.js b/src/addon/web/global_card.js index ca84b34..5eb42ef 100644 --- a/src/addon/web/global_card.js +++ b/src/addon/web/global_card.js @@ -198,7 +198,7 @@ } const isCtrlKey = function (keycode) { - return ['ControlLeft', 'MetaLeft'].includes(keycode) + return ['ControlLeft', 'MetaLeft', 'ControlRight', 'MetaRight'].includes(keycode) } window.addEventListener('keydown', function (ev) {