Skip to content

Commit

Permalink
Changed WaveformOverview.getEndTime()
Browse files Browse the repository at this point in the history
See #506
  • Loading branch information
chrisn committed Sep 19, 2023
1 parent ddf52a0 commit 21a5979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waveform-overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ WaveformOverview.prototype.getStartTime = function() {
*/

WaveformOverview.prototype.getEndTime = function() {
return this._getDuration();
return this.pixelOffsetToTime(this._width);
};

/**
Expand Down

0 comments on commit 21a5979

Please sign in to comment.