feat: add roundedCorners option for BrowserWindow (#27572)
* feat: add roundedCorner option for BrowserWindow * Make roundedCorner work with vibrancy views * roundedCorner => roundedCorners
This commit is contained in:
parent
e51ad4fa45
commit
af4a050a1b
4 changed files with 21 additions and 7 deletions
|
@ -228,6 +228,8 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
|||
experimental.
|
||||
* `trafficLightPosition` [Point](structures/point.md) (optional) - Set a
|
||||
custom position for the traffic light buttons in frameless windows.
|
||||
* `roundedCorners` Boolean (optional) - Whether frameless window should have
|
||||
rounded corners on macOS. Default is `true`.
|
||||
* `fullscreenWindowTitle` Boolean (optional) _Deprecated_ - Shows the title in
|
||||
the title bar in full screen mode on macOS for `hiddenInset` titleBarStyle.
|
||||
Default is `false`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue