Skip to content

Commit

Permalink
docs: fix BrowserWindow options.hasShadow platform (#20038)
Browse files Browse the repository at this point in the history
The docs claimed this is only available on macOS; however, Linux and Win
got this feature in 239bfe9
  • Loading branch information
ckerr authored and John Kleinschmidt committed Sep 5, 2019
1 parent 93da8e2 commit 8a0a41b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/api/browser-window.md
Expand Up @@ -206,8 +206,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
* `backgroundColor` String (optional) - Window's background color as a hexadecimal value,
like `#66CD00` or `#FFF` or `#80FFFFFF` (alpha in #AARRGGBB format is supported if
`transparent` is set to `true`). Default is `#FFF` (white).
* `hasShadow` Boolean (optional) - Whether window should have a shadow. This is only
implemented on macOS. Default is `true`.
* `hasShadow` Boolean (optional) - Whether window should have a shadow. Default is `true`.
* `opacity` Number (optional) - Set the initial opacity of the window, between 0.0 (fully
transparent) and 1.0 (fully opaque). This is only implemented on Windows and macOS.
* `darkTheme` Boolean (optional) - Forces using dark theme for the window, only works on
Expand Down

0 comments on commit 8a0a41b

Please sign in to comment.