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/18111

Vanessaecb853d84945
diff --git a/app/src/layout/dock/Graph.ts b/app/src/layout/dock/Graph.ts
index 889efe82a9..26a84a7757 100644
--- a/app/src/layout/dock/Graph.ts
+++ b/app/src/layout/dock/Graph.ts
@@ -287,7 +287,6 @@ export class Graph extends Model {
} else if (dataType === "refresh") {
this.searchGraph(false, undefined, true);
} else if (dataType === "fullscreen") {
- fullscreen(this.element, target);
const minElement = this.element.querySelector('.block__icons .block__icon[data-type="min"]');
if (this.element.className.includes("fullscreen")) {
minElement.classList.add("fn__none");
@@ -296,6 +295,7 @@ export class Graph extends Model {
minElement.classList.remove("fn__none");
minElement.previousElementSibling.classList.remove("fn__none");
}
+ fullscreen(this.element, target);
}
break;
} else if (target.classList.contains("graph__svg")) {