Skip to content

Commit

Permalink
Fix miniature progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Feb 5, 2025
1 parent 9ac4ecb commit e6725e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class VideoThumbnailComponent {

const currentTime = this.video.userHistory.currentTime

return Math.round((currentTime / this.video.duration)) * 100
return Math.round(currentTime / this.video.duration * 100)
}

getDurationOverlayLabel () {
Expand Down

0 comments on commit e6725e6

Please sign in to comment.