This commit is contained in:
parent
05e459a911
commit
a44227a4c1
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import {isCtrl} from "./compatibility";
|
||||
|
||||
// 是否匹配 ⇧⌘[] / ⌘[] / ⌥[] / ⌥⌘[] / ⇧Tab / []
|
||||
// 是否匹配 ⇧⌘[] / ⌘[] / ⌥[] / ⌥⌘[] / ⌥⇧[] / ⌥⇧⌘[] / ⇧Tab / []
|
||||
export const matchHotKey = (hotKey: string, event: KeyboardEvent) => {
|
||||
if (hotKey === "") {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue