Skip to content

Commit

Permalink
Fixed WaveformZoomview.enableAutoScroll()
Browse files Browse the repository at this point in the history
See #536
  • Loading branch information
chrisn committed Aug 14, 2024
1 parent 4431316 commit e7f049c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/waveform-zoomview.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,10 @@ WaveformZoomView.prototype.updateWaveform = function(frameOffset) {
};

WaveformZoomView.prototype.enableAutoScroll = function(enable, options) {
if (!options) {
options = {};
}

this._autoScroll = enable;

if (objectHasProperty(options, 'offset')) {
Expand Down

0 comments on commit e7f049c

Please sign in to comment.