From 59e85c0f33af0dbaf79851a3e73e5b09e6874ea3 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 27 Jul 2017 17:49:05 +1000 Subject: [PATCH] Fix stupid or check in scrubber defaults --- lib/browser/api/touch-bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/api/touch-bar.js b/lib/browser/api/touch-bar.js index ae0c1f1428b4..65e9694954a4 100644 --- a/lib/browser/api/touch-bar.js +++ b/lib/browser/api/touch-bar.js @@ -292,7 +292,7 @@ TouchBar.TouchBarScrubber = class TouchBarScrubber extends TouchBarItem { this._addLiveProperty('overlayStyle', overlayStyle || null) this._addLiveProperty('showArrowButtons', showArrowButtons || false) this._addLiveProperty('mode', mode || 'free') - this._addLiveProperty('continuous', continuous || true) + this._addLiveProperty('continuous', typeof continuous === 'undefined' ? true : continuous) if (typeof select === 'function' || typeof highlight === 'function') { if (select == null) select = () => {}