Add support for titleBarStyle hidden on macOS 10.9

"titleBarStyle: 'hidden'" supports macOS 10.9 now. See https://github.com/electron/electron/pull/6848 and ab8fd49c72 for more info.
This commit is contained in:
Menci 2016-08-26 12:06:56 +08:00 committed by GitHub
parent 34e0f8c644
commit a9eb6b7238

View file

@ -21,7 +21,7 @@ win.show()
### Alternatives on macOS ### Alternatives on macOS
On macOS 10.10 Yosemite and newer, there's an alternative way to specify 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 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 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 hidden and your content extend to the full window size, yet still preserve