fix: broken transparent window styles on resizable change (#48499)
* fix: wrong api call Co-authored-by: zoy <zoy-l@outlook.com> * fix: consistency of the resize state Co-authored-by: zoy <zoy-l@outlook.com> * fix: edge cases Co-authored-by: zoy <zoy-l@outlook.com> * chore: add detailed comments Co-authored-by: zoy <zoy-l@outlook.com> * fix: lint Co-authored-by: zoy <zoy-l@outlook.com> * chore: only windows Co-authored-by: zoy <zoy-l@outlook.com> * chore: use transparent Co-authored-by: zoy <zoy-l@outlook.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: zoy <zoy-l@outlook.com>
This commit is contained in:
parent
54e2de4397
commit
2af34b7353
3 changed files with 20 additions and 16 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue