Fix ctrlOrCmd + Slash shortcut to match the guide

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-03-19 15:52:17 +00:00
parent 58bfc49e2a
commit 3c2101fa31

View file

@ -380,7 +380,7 @@ const LoggedInView = createReactClass({
break; break;
case Key.SLASH: case Key.SLASH:
if (ev.ctrlKey && !ev.shiftKey && !ev.altKey && !ev.metaKey) { if (ctrlCmdOnly) {
KeyboardShortcuts.toggleDialog(); KeyboardShortcuts.toggleDialog();
handled = true; handled = true;
} }