fix: move BrowserWindow's WebContentsView to be a child of rootview (#41256)
This commit is contained in:
parent
22c149812c
commit
76f7bbb0a8
7 changed files with 31 additions and 34 deletions
|
@ -31,7 +31,7 @@ const isScaleFactorRounding = () => {
|
|||
|
||||
const expectBoundsEqual = (actual: any, expected: any) => {
|
||||
if (!isScaleFactorRounding()) {
|
||||
expect(expected).to.deep.equal(actual);
|
||||
expect(actual).to.deep.equal(expected);
|
||||
} else if (Array.isArray(actual)) {
|
||||
expect(actual[0]).to.be.closeTo(expected[0], 1);
|
||||
expect(actual[1]).to.be.closeTo(expected[1], 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue