From 3c2101fa313cb44b48fd56b1b301eb14bbffa206 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 19 Mar 2020 15:52:17 +0000 Subject: [PATCH] Fix ctrlOrCmd + Slash shortcut to match the guide Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/LoggedInView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/LoggedInView.js b/src/components/structures/LoggedInView.js index 576ae2b276..f923c50b44 100644 --- a/src/components/structures/LoggedInView.js +++ b/src/components/structures/LoggedInView.js @@ -380,7 +380,7 @@ const LoggedInView = createReactClass({ break; case Key.SLASH: - if (ev.ctrlKey && !ev.shiftKey && !ev.altKey && !ev.metaKey) { + if (ctrlCmdOnly) { KeyboardShortcuts.toggleDialog(); handled = true; }