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

Vanessaca1c8af16d60
diff --git a/app/src/protyle/breadcrumb/action.ts b/app/src/protyle/breadcrumb/action.ts
index 3962a98e7c..d07c5f1457 100644
--- a/app/src/protyle/breadcrumb/action.ts
+++ b/app/src/protyle/breadcrumb/action.ts
@@ -96,6 +96,15 @@ export const fullscreen = (element: Element, btnElement?: Element) => {
}
}
});
+ if ("darwin" !== window.siyuan.config.system.os) {
+ const windowControlsElement = document.getElementById("windowControls");
+ if (isFullscreen) {
+ windowControlsElement.style.zIndex = "";
+ } else {
+ window.siyuan.zIndex++;
+ windowControlsElement.style.zIndex = window.siyuan.zIndex.toString();
+ }
+ }
/// #endif
};