mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
This commit is contained in:
parent
ee46c6cb01
commit
f8babd38b3
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export const onWindowsMsg = (ipcData: IWebSocketData) => {
|
|||
tabItem.remove();
|
||||
});
|
||||
} else if (isWindow()) {
|
||||
document.querySelectorAll(".layout-tab-bar--readonly > .fn__flex-1").forEach((item: HTMLElement) => {
|
||||
document.querySelectorAll(".layout-tab-bar--readonly .fn__flex-1").forEach((item: HTMLElement) => {
|
||||
if (item.getBoundingClientRect().top <= 0) {
|
||||
if (ipcData.data === "addRegionStyle") {
|
||||
(item.style as CSSStyleDeclarationElectron).WebkitAppRegion = "drag";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue