Vanessa 2025-03-13 10:55:30 +08:00
parent cea5821c0b
commit abe85de042
2 changed files with 6 additions and 2 deletions

View file

@ -557,6 +557,9 @@ const fileTreeKeydown = (app: App, event: KeyboardEvent) => {
return false;
}
const files = dockFile.data.file as Files;
if (typeof dockFile.data.file === "boolean") {
return true;
}
if (matchHotKey(window.siyuan.config.keymap.general.selectOpen1.custom, event)) {
event.preventDefault();