fix: dont set duration to 0 when looping playlist

This commit is contained in:
dusk 2023-04-30 05:54:04 +03:00
parent afa145ff74
commit ccb7ce70e7
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -96,7 +96,6 @@
nextQueuePosition();
break;
case LoopKind.Once:
duration = 0;
const queuePos = nextQueuePosition();
if (queuePos === null) {
queuePosition.set(0);