mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add support for setting TouchBarLabel text color
This commit is contained in:
@@ -164,6 +164,7 @@ TouchBar.TouchBarLabel = class TouchBarLabel extends TouchBarItem {
|
||||
if (config == null) config = {}
|
||||
this.type = 'label'
|
||||
this._addLiveProperty('label', config.label)
|
||||
this._addLiveProperty('textColor', config.textColor)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user