fix: dont set duration to 0 when looping
This commit is contained in:
parent
95ad71161d
commit
59685f8bcf
@ -89,10 +89,10 @@
|
||||
navigator.mediaSession.setPositionState({ position: currentTime, duration });
|
||||
}}
|
||||
on:ended={(ev) => {
|
||||
duration = 0;
|
||||
currentTime = 0;
|
||||
switch ($loop) {
|
||||
case LoopKind.Off:
|
||||
duration = 0;
|
||||
nextQueuePosition();
|
||||
break;
|
||||
case LoopKind.Once:
|
||||
|
Loading…
Reference in New Issue
Block a user