Merge pull request #6848 from miniak/titlebar-style-hidden

Add support for titleBarStyle: 'hidden' on OS X 10.9
This commit is contained in:
Cheng Zhao 2016-08-18 14:40:54 +09:00 committed by GitHub
commit 105597c7e8
3 changed files with 23 additions and 6 deletions

View file

@ -208,7 +208,7 @@ Possible values are:
input sparingly.
* On Windows, possible type is `toolbar`.
The `titleBarStyle` option is only supported on macOS 10.10 Yosemite and newer.
The `titleBarStyle` option.
Possible values are:
* `default` or not specified, results in the standard gray opaque Mac title
@ -218,6 +218,7 @@ Possible values are:
the top left.
* `hidden-inset` results in a hidden title bar with an alternative look
where the traffic light buttons are slightly more inset from the window edge.
It is not supported on macOS 10.9 Mavericks, where it falls back to `hidden`.
The `webPreferences` option is an object that can have the following properties: