Browse Source

Merge pull request #9769 from electron/deprecate-hidden-inset

Add titleBarStyle: 'hidden-inset' to planned breaking changes
Zeke Sikelianos 7 years ago
parent
commit
6c94c265f3
1 changed files with 10 additions and 0 deletions
  1. 10 0
      docs/tutorial/planned-breaking-changes.md

+ 10 - 0
docs/tutorial/planned-breaking-changes.md

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