From c5b323c3918038510cff27cc9966c1e656c7cdbf Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 23 Jun 2024 12:52:15 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/11774 --- app/src/layout/dock/Graph.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/layout/dock/Graph.ts b/app/src/layout/dock/Graph.ts index 0a372c1d6..3d8874485 100644 --- a/app/src/layout/dock/Graph.ts +++ b/app/src/layout/dock/Graph.ts @@ -322,6 +322,12 @@ export class Graph extends Model { 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") + } else { + minElement.classList.remove("fn__none") + } } break; } else if (target.classList.contains("graph__svg")) {