mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user