Skip to content

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

:bug:

Vanessaf1b9417691e3
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts
index 6656a913be..282fd855ce 100644
--- a/app/src/util/globalShortcut.ts
+++ b/app/src/util/globalShortcut.ts
@@ -103,6 +103,7 @@ export const globalShortcut = () => {
window.siyuan.hideBreadcrumb = false;
}
if (event.buttons === 0 && // 鼠标按键被按下时不触发
+ window.siyuan.layout.bottomDock &&
!isWindow() && !hasClosestByClassName(event.target, "b3-dialog") && !hasClosestByClassName(event.target, "b3-menu")) {
if (event.clientX < 43) {
if (!window.siyuan.layout.leftDock.pin && window.siyuan.layout.leftDock.layout.element.clientWidth > 0 &&