From 6155f72d8ed93c21edd02cd255224b4f3e2a99a8 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 12 Jun 2026 01:49:25 +0200 Subject: [PATCH] Fix incomplete watch progresss bar if video length has milliseconds --- src/renderer/components/ft-list-video/ft-list-video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/ft-list-video/ft-list-video.js b/src/renderer/components/ft-list-video/ft-list-video.js index 40b372f9ca3fd..b99fa179c5784 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.js +++ b/src/renderer/components/ft-list-video/ft-list-video.js @@ -252,7 +252,7 @@ export default defineComponent({ if (typeof this.lengthSeconds !== 'number' || this.lengthSeconds === 0) { return 0 } - const percentage = (this.watchProgress / this.lengthSeconds) * 100 + const percentage = (Math.ceil(this.watchProgress) / this.lengthSeconds) * 100 return Math.min(percentage, 100) },