Browse Source

Fix stupid or check in scrubber defaults

Samuel Attard 7 years ago
parent
commit
59e85c0f33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/browser/api/touch-bar.js

+ 1 - 1
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 = () => {}