From c5e013fd0d70f01dc9c2a8bc9de6ed94ef6e00b2 Mon Sep 17 00:00:00 2001 From: Shardul Kurdukar <24shardul@gmail.com> Date: Tue, 10 Oct 2023 21:11:30 +0530 Subject: [PATCH] Fixed missing separator for keycodes comparison --- src/lib/commandCenter/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commandCenter/commands.ts b/src/lib/commandCenter/commands.ts index d16b3b164e..f12bbe2ed8 100644 --- a/src/lib/commandCenter/commands.ts +++ b/src/lib/commandCenter/commands.ts @@ -198,7 +198,7 @@ export const commandCenterKeyDownHandler = derived( const commandKeyCodes = keys?.map((key) => key.toUpperCase().charCodeAt(0)); const allKeysPressed = commandKeyCodes - ? recentKeyCodes.join('').includes(commandKeyCodes.join('')) + ? recentKeyCodes.join(',').includes(commandKeyCodes.join(',')) : false; if (allKeysPressed && isMetaPressed && isShiftPressed && isAltPressed) {