fix: set duration to 0 when looping playlist
This commit is contained in:
parent
59685f8bcf
commit
afa145ff74
@ -96,6 +96,7 @@
|
|||||||
nextQueuePosition();
|
nextQueuePosition();
|
||||||
break;
|
break;
|
||||||
case LoopKind.Once:
|
case LoopKind.Once:
|
||||||
|
duration = 0;
|
||||||
const queuePos = nextQueuePosition();
|
const queuePos = nextQueuePosition();
|
||||||
if (queuePos === null) {
|
if (queuePos === null) {
|
||||||
queuePosition.set(0);
|
queuePosition.set(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user