We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c3f38 commit f7e6f65Copy full SHA for f7e6f65
src/browser/lib/shortcuts.ts
@@ -253,7 +253,7 @@ export function matchesKey(
253
const shortcut = SHORTCUTS[shortcutId];
254
255
// Check modifier requirement
256
- if (shortcut.withModifier && !(event.metaKey || event.ctrlKey)) {
+ if ("withModifier" in shortcut && shortcut.withModifier && !(event.metaKey || event.ctrlKey)) {
257
return false;
258
}
259
0 commit comments