Skip to content

Commit 4b73703

Browse files
authored
docs: Replace 'percent' with 'ratio' in seekTo's comment for clarity (#4186)
1 parent 3b1a54d commit 4b73703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wavesurfer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ class WaveSurfer extends Player<WaveSurferEvents> {
583583
this.emit('timeupdate', time)
584584
}
585585

586-
/** Seek to a percentage of audio as [0..1] (0 = beginning, 1 = end) */
586+
/** Seek to a ratio of audio as [0..1] (0 = beginning, 1 = end) */
587587
public seekTo(progress: number) {
588588
const time = this.getDuration() * progress
589589
this.setTime(time)

0 commit comments

Comments
 (0)