Modifiers (shift, alt, meta) are now checked in both directions: when not required, the physical key must NOT be pressed either. Before: Cmd+K shortcut would fire on Cmd+Shift+K or Cmd+Alt+K. After: exact modifier combination is enforced. 4 regression tests added. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| index.ts | ||
| use-keyboard-shortcuts.ts | ||