fix: broken transparent window styles on resizable change (#48378)

* fix: wrong api call

* fix: consistency of the resize state

* fix: edge cases

* chore: add detailed comments

* fix: lint

* chore: only windows

* chore: use transparent
This commit is contained in:
zoy
2025-10-09 15:49:20 +08:00
committed by GitHub
parent 0d478ec69c
commit 3a53c71324
3 changed files with 20 additions and 16 deletions

View File

@@ -5455,7 +5455,7 @@ describe('BrowserWindow module', () => {
thickFrame: true,
transparent: true
});
expect(w.isResizable()).to.be.true('resizable');
expect(w.isResizable()).to.be.false('resizable');
w.maximize();
expect(w.isMaximized()).to.be.true('maximized');
const bounds = w.getBounds();