Add support for setting TouchBarLabel text color
This commit is contained in:
parent
0098822fcf
commit
2680ee9f8f
4 changed files with 21 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue