mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Fix miniature progress bar
This commit is contained in:
parent
9ac4ecb6f8
commit
e6725e6d3a
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export class VideoThumbnailComponent {
|
||||||
|
|
||||||
const currentTime = this.video.userHistory.currentTime
|
const currentTime = this.video.userHistory.currentTime
|
||||||
|
|
||||||
return Math.round((currentTime / this.video.duration)) * 100
|
return Math.round(currentTime / this.video.duration * 100)
|
||||||
}
|
}
|
||||||
|
|
||||||
getDurationOverlayLabel () {
|
getDurationOverlayLabel () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue