fix: broken transparent window styles on resizable change (#48500)
* 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
80b1defd81
commit
b56d95d214
3 changed files with 20 additions and 16 deletions
|
|
@ -5418,7 +5418,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