Vanessa 2025-04-01 15:53:31 +08:00 committed by Daniel
parent ee46c6cb01
commit f8babd38b3
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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";