Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/13938

Vanessaaf1dac157ed8
diff --git a/app/src/boot/globalEvent/mousemove.ts b/app/src/boot/globalEvent/mousemove.ts
index 6a59887dd2..19a095712a 100644
--- a/app/src/boot/globalEvent/mousemove.ts
+++ b/app/src/boot/globalEvent/mousemove.ts
@@ -59,7 +59,7 @@ export const windowMouseMove = (event: MouseEvent & { target: HTMLElement }, mou
event.clientY < window.innerHeight - document.getElementById("status").clientHeight - document.getElementById("dockBottom").clientHeight) {
if (!hasClosestByClassName(event.target, "b3-menu") &&
!hasClosestByClassName(event.target, "protyle-toolbar") &&
- !hasClosestByClassName(event.target, "b3-dialog") &&
+ !hasClosestByClassName(event.target, "b3-dialog", true) &&
!hasClosestByClassName(event.target, "layout--float")) {
window.siyuan.layout.leftDock.showDock();
}
@@ -75,7 +75,7 @@ export const windowMouseMove = (event: MouseEvent & { target: HTMLElement }, mou
if (!hasClosestByClassName(event.target, "b3-menu") &&
!hasClosestByClassName(event.target, "layout--float") &&
!hasClosestByClassName(event.target, "protyle-toolbar") &&
- !hasClosestByClassName(event.target, "b3-dialog")) {
+ !hasClosestByClassName(event.target, "b3-dialog", true)) {
window.siyuan.layout.rightDock.showDock();
}
} else {