Skip to content

Commit

Permalink
make this more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Feb 11, 2024
1 parent 0bb1ac7 commit aed9501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wavesurfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ class WaveSurfer extends Player<WaveSurferEvents> {
return this.renderer.getScroll()
}

/** Move the viewing window to a specific time in the audio (in seconds) */
/** Move the start of the viewing window to a specific time in the audio (in seconds) */
public setScrollTime(time: number) {
let percentage = time / this.getDuration()
this.renderer.setScrollPercentage(percentage)
Expand Down

0 comments on commit aed9501

Please sign in to comment.