Merge pull request #9769 from electron/deprecate-hidden-inset
Add titleBarStyle: 'hidden-inset' to planned breaking changes
This commit is contained in:
commit
6c94c265f3
1 changed files with 10 additions and 0 deletions
|
@ -25,6 +25,16 @@ let optionsB = {webPreferences: {enableBlinkFeatures: ''}}
|
|||
let windowB = new BrowserWindow(optionsB)
|
||||
```
|
||||
|
||||
|
||||
```js
|
||||
// Deprecated
|
||||
let optionsA = {titleBarStyle: 'hidden-inset'}
|
||||
let windowA = new BrowserWindow(optionsA)
|
||||
// Replace with
|
||||
let optionsB = {titleBarStyle: 'hiddenInset'}
|
||||
let windowB = new BrowserWindow(optionsB)
|
||||
```
|
||||
|
||||
## `clipboard`
|
||||
|
||||
```js
|
||||
|
|
Loading…
Reference in a new issue