This commit is contained in:
Vanessa 2025-04-27 17:03:54 +08:00
parent a4cacb11de
commit 2fa11137a0

View File

@ -218,6 +218,9 @@ export const isIncludesHotKey = (hotKey: string) => {
}; };
export const updateControlAlt = () => { export const updateControlAlt = () => {
if (!window.siyuan.config.keymap.general) {
return;
}
Object.keys(window.siyuan.config.keymap.general).forEach(key => { Object.keys(window.siyuan.config.keymap.general).forEach(key => {
if (["fileTree", "outline", "bookmark", "tag", "dailyNote", "inbox", "backlinks", if (["fileTree", "outline", "bookmark", "tag", "dailyNote", "inbox", "backlinks",
"graphView", "globalGraph", "riffCard"].includes(key)) { "graphView", "globalGraph", "riffCard"].includes(key)) {