feat: allow window above full screen windows on mac (#14122)

* allow window above full screen windows on mac

* add visibility change params to higher level files

* adress feedback, fix bool issue, remove compilation hooks

* adjust readme

* switch to options object

* single argument for native window views
This commit is contained in:
Paulius 2018-08-31 17:06:02 -05:00 committed by Shelley Vohr
parent c3d51bc2fe
commit b89848d683
8 changed files with 27 additions and 9 deletions

View file

@ -1418,9 +1418,12 @@ can still bring up the menu bar by pressing the single `Alt` key.
Returns `Boolean` - Whether the menu bar is visible.
#### `win.setVisibleOnAllWorkspaces(visible)`
#### `win.setVisibleOnAllWorkspaces(visible[, options])`
* `visible` Boolean
* `options` Object (optional)
* `visibleOnFullScreen` Boolean (optional) _macOS_ - Sets whether
the window should be visible above fullscreen windows
Sets whether the window should be visible on all workspaces.