diff --git a/front/src/composables/audio/player.ts b/front/src/composables/audio/player.ts index 844ef8cb4..c01b6561e 100644 --- a/front/src/composables/audio/player.ts +++ b/front/src/composables/audio/player.ts @@ -59,7 +59,7 @@ export const usePlayer = createGlobalState(() => { const lastVolume = useStorage('player:last-volume', 0.7) const volume: Ref = useStorage('player:volume', 0.7) - watch(volume, (gain) => setGain(gain)) + watch(volume, (gain) => setGain(gain), { immediate: true }) const mute = () => { if (volume.value > 0) {