docs: fix BrowserWindow options.hasShadow platform (#20038)

The docs claimed this is only available on macOS; however, Linux and Win
got this feature in 239bfe970c
This commit is contained in:
Charles Kerr 2019-09-05 15:04:07 -05:00 committed by John Kleinschmidt
parent 93da8e2b3d
commit 8a0a41b9ef

View file

@ -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