🍎 Remove deprecated dock window level

According to the Apple docs, the `NSDockWindowLevel` constant is deprecated: https://developer.apple.com/reference/appkit/nsdockwindowlevel?language=objc
This commit is contained in:
Sindre Sorhus 2016-12-06 22:48:40 +01:00
parent 3e128abb73
commit 3dde669ee8
3 changed files with 3 additions and 2 deletions

View file

@ -832,7 +832,7 @@ On Linux always returns `true`.
* `flag` Boolean
* `level` String (optional) _macOS_ - Values include `normal`, `floating`,
`torn-off-menu`, `modal-panel`, `main-menu`, `status`, `pop-up-menu`,
`screen-saver`, and `dock`. The default is `floating`. See the
`screen-saver`, and ~~`dock`~~ (Deprecated). The default is `floating`. See the
[macOS docs][window-levels] for more details.
Sets whether the window should show always on top of other windows. After