Merge pull request #8156 from sindresorhus/remove-dock-window-level
🍎 Document that the `dock` window level is deprecated
This commit is contained in:
commit
2fa9ca1f6d
3 changed files with 3 additions and 2 deletions
|
@ -494,7 +494,7 @@ describe('BrowserWindow module', function () {
|
|||
describe('BrowserWindow.setAlwaysOnTop(flag, level)', function () {
|
||||
it('sets the window as always on top', function () {
|
||||
assert.equal(w.isAlwaysOnTop(), false)
|
||||
w.setAlwaysOnTop(true, 'dock')
|
||||
w.setAlwaysOnTop(true, 'screen-saver')
|
||||
assert.equal(w.isAlwaysOnTop(), true)
|
||||
w.setAlwaysOnTop(false)
|
||||
assert.equal(w.isAlwaysOnTop(), false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue