From bc31f0540481a467c963d7b58f767592e2a5fd61 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 15 Mar 2017 09:47:07 -0700 Subject: [PATCH] highlightedStyle -> overlayStyle --- lib/browser/api/touch-bar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/browser/api/touch-bar.js b/lib/browser/api/touch-bar.js index 4ddbde5b1592..74951edbac6d 100644 --- a/lib/browser/api/touch-bar.js +++ b/lib/browser/api/touch-bar.js @@ -235,12 +235,12 @@ TouchBar.TouchBarScrubber = class TouchBarScrubber extends TouchBarItem { constructor (config) { super() if (config == null) config = {} - const {items, selectedStyle, highlightedStyle, showArrowButtons, continuous, mode} = config + const {items, selectedStyle, overlayStyle, showArrowButtons, continuous, mode} = config let {select, highlight} = config this.type = 'scrubber' this._addLiveProperty('items', items) this._addLiveProperty('selectedStyle', selectedStyle || null) - this._addLiveProperty('overlayStyle', highlightedStyle || null) + this._addLiveProperty('overlayStyle', overlayStyle || null) this._addLiveProperty('showArrowButtons', showArrowButtons || false) this._addLiveProperty('mode', mode || 'free') this._addLiveProperty('continuous', continuous || true)