Revert "fix: Drop support for OS X Mavericks (version 10.9)"

This commit is contained in:
Samuel Attard 2018-06-20 19:34:04 +10:00 committed by Electron Bot
parent d2508faea8
commit b0f6c3ab65
15 changed files with 290 additions and 156 deletions

View file

@ -21,10 +21,11 @@ win.show()
### Alternatives on macOS
There's an alternative way to specify a chromeless window.
Instead of setting `frame` to `false` which disables both the titlebar and window controls,
you may want to have the title bar hidden and your content extend to the full window size,
yet still preserve the window controls ("traffic lights") for standard window actions.
On macOS 10.9 Mavericks and newer, there's an alternative way to specify
a chromeless window. Instead of setting `frame` to `false` which disables
both the titlebar and window controls, you may want to have the title bar
hidden and your content extend to the full window size, yet still preserve
the window controls ("traffic lights") for standard window actions.
You can do so by specifying the `titleBarStyle` option:
#### `hidden`