Add Slider item type and add options to the button type

This commit is contained in:
Samuel Attard 2016-11-28 21:43:39 +11:00 committed by Kevin Sawicki
parent 18c7c3ece8
commit c92c4138a8
5 changed files with 191 additions and 53 deletions

View file

@ -134,7 +134,7 @@ BrowserWindow.prototype._init = function () {
// Proxy TouchBar events
this.on('-touch-bar-interaction', (event, item_type, id, ...args) => {
TouchBar._event(id, ...args)
TouchBar._event(item_type, id, ...args)
})
}