diff --git a/front/src/composables/audio/player.ts b/front/src/composables/audio/player.ts index 1fae61beb..57772cde3 100644 --- a/front/src/composables/audio/player.ts +++ b/front/src/composables/audio/player.ts @@ -179,7 +179,9 @@ export const usePlayer = createGlobalState(() => { ? progress : 0 - document.documentElement.style.setProperty('--fw-track-progress', `${lastProgress}%`) + for (const bar of document.querySelectorAll('.ui.progress .position.bar')) { + bar.style.setProperty('--fw-track-progress', `${lastProgress}%`) + } } })