highlightedStyle -> overlayStyle

This commit is contained in:
Kevin Sawicki 2017-03-15 09:47:07 -07:00
parent f41db87e47
commit bc31f05404

View file

@ -235,12 +235,12 @@ TouchBar.TouchBarScrubber = class TouchBarScrubber extends TouchBarItem {
constructor (config) { constructor (config) {
super() super()
if (config == null) config = {} if (config == null) config = {}
const {items, selectedStyle, highlightedStyle, showArrowButtons, continuous, mode} = config const {items, selectedStyle, overlayStyle, showArrowButtons, continuous, mode} = config
let {select, highlight} = config let {select, highlight} = config
this.type = 'scrubber' this.type = 'scrubber'
this._addLiveProperty('items', items) this._addLiveProperty('items', items)
this._addLiveProperty('selectedStyle', selectedStyle || null) this._addLiveProperty('selectedStyle', selectedStyle || null)
this._addLiveProperty('overlayStyle', highlightedStyle || null) this._addLiveProperty('overlayStyle', overlayStyle || null)
this._addLiveProperty('showArrowButtons', showArrowButtons || false) this._addLiveProperty('showArrowButtons', showArrowButtons || false)
this._addLiveProperty('mode', mode || 'free') this._addLiveProperty('mode', mode || 'free')
this._addLiveProperty('continuous', continuous || true) this._addLiveProperty('continuous', continuous || true)