From 0e13fe39091721a864abbd0795cb1346a3c3a8b5 Mon Sep 17 00:00:00 2001 From: nieve Date: Thu, 27 Jun 2024 12:43:19 -0400 Subject: [PATCH] make chapter indicator 1px wide --- src/components/VideoPlayer.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 6683aa20..93e62995 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -685,8 +685,8 @@ export default { } array.push(`transparent ${start}%`); array.push(`black ${start}%`); - array.push(`black ${start + 0.1}%`); - array.push(`transparent ${start + 0.1}%`); + array.push(`black calc(${start}% + 1px)`); + array.push(`transparent calc(${start}% + 1px)`); } seekbar.style.background = `linear-gradient(${array.join(",")})`;