Add support for setting TouchBarLabel text color

This commit is contained in:
Kevin Sawicki 2017-03-03 15:14:51 -08:00
parent 0098822fcf
commit 2680ee9f8f
4 changed files with 21 additions and 1 deletions

View file

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