1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

Fix miniature progress bar

This commit is contained in:
Chocobozzz 2025-02-05 09:05:48 +01:00
parent 9ac4ecb6f8
commit e6725e6d3a
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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 () {