use kCGMinimumWindowLevelKey to get the minimum level
This commit is contained in:
parent
b67d515a76
commit
edbb786fb4
2 changed files with 5 additions and 4 deletions
|
@ -518,7 +518,7 @@ describe('BrowserWindow module', function () {
|
|||
if (process.platform !== 'darwin') return
|
||||
|
||||
assert.throws(function () {
|
||||
w.setAlwaysOnTop(true, '', -1)
|
||||
w.setAlwaysOnTop(true, '', -2147483644)
|
||||
})
|
||||
|
||||
assert.throws(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue