feat: make window visual effect state customizable (#25083)
This commit is contained in:
parent
c0440a35f2
commit
024ea32313
5 changed files with 49 additions and 1 deletions
|
@ -212,6 +212,10 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
|||
Default is `false`. On Windows, does not work unless the window is frameless.
|
||||
* `type` String (optional) - The type of window, default is normal window. See more about
|
||||
this below.
|
||||
* `visualEffectState` String (optional) - Specify how the material appearance should reflect window activity state on macOS. Must be used with the `vibrancy` property. Possible values are:
|
||||
* `followWindow` - The backdrop should automatically appear active when the window is active, and inactive when it is not. This is the default.
|
||||
* `active` - The backdrop should always appear active.
|
||||
* `inactive` - The backdrop should always appear inactive.
|
||||
* `titleBarStyle` String (optional) - The style of window title bar.
|
||||
Default is `default`. Possible values are:
|
||||
* `default` - Results in the standard gray opaque Mac title
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue