chore: deprecate setHighlightMode (#19202)

This commit is contained in:
Micha Hanselmann 2019-07-11 08:11:46 -07:00 committed by Shelley Vohr
parent 06d48514c6
commit 1f70dfbffd
3 changed files with 17 additions and 0 deletions

View file

@ -216,6 +216,8 @@ Returns `String` - the title displayed next to the tray icon in the status bar
Sets when the tray's icon background becomes highlighted (in blue).
**[Deprecated](breaking-changes.md#tray)**
**Note:** You can use `highlightMode` with a [`BrowserWindow`](browser-window.md)
by toggling between `'never'` and `'always'` modes when the window visibility
changes.