mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add live popover icon property
This commit is contained in:
@@ -174,6 +174,7 @@ TouchBar.Popover = class TouchBarPopover extends TouchBarItem {
|
||||
super(config)
|
||||
this.type = 'popover'
|
||||
this._addLiveProperty('label', config.label)
|
||||
this._addLiveProperty('icon', config.icon)
|
||||
this.showCloseButton = config.showCloseButton
|
||||
this.child = config.items
|
||||
if (!(this.child instanceof TouchBar)) {
|
||||
|
||||
Reference in New Issue
Block a user