An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/10737
Vanessa50edc635c149
diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.tsindex df66374fff..3d8641dc8f 100644--- a/app/src/layout/Wnd.ts+++ b/app/src/layout/Wnd.ts@@ -39,6 +39,7 @@ import {setTitle} from "../dialog/processSystem";import {newCenterEmptyTab, resizeTabs} from "./tabUtil";import {fullscreen} from "../protyle/breadcrumb/action";import {setPadding} from "../protyle/ui/initUI";+import {setPosition} from "../util/setPosition";export class Wnd {private app: App;@@ -617,6 +618,7 @@ export class Wnd {this.removeTab(item.getAttribute("data-id"));if (element.previousElementSibling || element.nextElementSibling) {element.remove();+ setPosition(window.siyuan.menus.menu.element, rect.left + rect.width - window.siyuan.menus.menu.element.clientWidth, rect.top + rect.height);} else {window.siyuan.menus.menu.remove();}