Merge pull request #8156 from sindresorhus/remove-dock-window-level

🍎 Document that the `dock` window level is deprecated
This commit is contained in:
Kevin Sawicki 2016-12-12 09:39:08 -08:00 committed by GitHub
commit 2fa9ca1f6d
3 changed files with 3 additions and 2 deletions

View file

@ -833,7 +833,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