Refresh lyrics position on open

This commit is contained in:
lucast committed 2026-10-05 01:10:53 +02:00
1 parent bdfa76f993
commit 45ae19149f
2 files changed
+14 -1

No files matched your search

+4
View File
@@ -48,6 +48,9 @@ export default defineNuxtPlugin((nuxtApp) => {
sound.value?.seek(value)
},
})
const refreshPosition = () => {
tick.value++
}
const volume = computed<number>({
get() {
tick.value
@@ -404,6 +407,7 @@ export default defineNuxtPlugin((nuxtApp) => {
playAlbumAtIndex,
getDuration,
secondsPlayed,
refreshPosition,
duration,
volume,
queue,