From e6725e6d3ae4bdd1518606f3d3c1f168cc3c785a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 5 Feb 2025 09:05:48 +0100 Subject: [PATCH] Fix miniature progress bar --- .../app/shared/shared-thumbnail/video-thumbnail.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts index e7881691f..64ec1810d 100644 --- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts +++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts @@ -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 () {