mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 23:08:49 +01:00
🎨
This commit is contained in:
parent
c151f24f86
commit
da2ed6adf3
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import {Constants} from "../../constants";
|
|||
|
||||
// 是否匹配 ⇧⌘[] / ⌘[] / ⌥[] / ⌥⌘[] / ⌥⇧[] / ⌥⇧⌘[] / ⇧[] / []
|
||||
export const matchHotKey = (hotKey: string, event: KeyboardEvent) => {
|
||||
if (hotKey === "") {
|
||||
if (!hotKey) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue