mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 01:50:58 +08:00
This commit is contained in:
parent
05a7690c62
commit
ca1c8af16d
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user