This commit is contained in:
parent
828df98ca1
commit
5607def130
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,10 @@ export const matchHotKey = (hotKey: string, event: KeyboardEvent) => {
|
|||
|
||||
// https://github.com/siyuan-note/siyuan/issues/9770
|
||||
if (hotKey.startsWith("⌃") && !isMac()) {
|
||||
if (hotKey === "⌃D") {
|
||||
// https://github.com/siyuan-note/siyuan/issues/9841
|
||||
return false;
|
||||
}
|
||||
hotKey = hotKey.replace("⌘", "").replace("⌃", "⌘")
|
||||
.replace("⌘⇧", "⇧⌘")
|
||||
.replace("⌘⌥⇧", "⌥⇧⌘")
|
||||
|
|
Loading…
Add table
Reference in a new issue