diff --git a/src/lib/components/player/PlayerDesktop.svelte b/src/lib/components/player/PlayerDesktop.svelte index f5bf3a1..6cb02cd 100644 --- a/src/lib/components/player/PlayerDesktop.svelte +++ b/src/lib/components/player/PlayerDesktop.svelte @@ -1,6 +1,6 @@
{#if player.currentTrack} -
+
-
diff --git a/src/lib/components/player/PlayerMobile.svelte b/src/lib/components/player/PlayerMobile.svelte index e3b625b..d52f01e 100644 --- a/src/lib/components/player/PlayerMobile.svelte +++ b/src/lib/components/player/PlayerMobile.svelte @@ -1,8 +1,6 @@
-
{ console.warn("Autoplay blocked or failed", e); @@ -87,6 +82,8 @@ bind:currentTime={audioCtx.currentTime} bind:duration={audioCtx.duration} bind:paused={audioCtx.paused} + bind:volume={player.volume} + bind:muted={player.isMuted} onended={onEnded} class="hidden" > diff --git a/src/lib/components/player/Queue.svelte b/src/lib/components/player/Queue.svelte index cdb0bc6..28edbca 100644 --- a/src/lib/components/player/Queue.svelte +++ b/src/lib/components/player/Queue.svelte @@ -51,7 +51,7 @@ class:active={player.currentId === track.id} >
{#if player.currentId === track.id}
- import { Slider as SliderPrimitive } from "bits-ui"; - import { cn, type WithoutChildrenOrChild } from "$lib/utils.js"; - - let { - ref = $bindable(null), - value = $bindable(), - orientation = "horizontal", - class: className, - ...restProps - }: WithoutChildrenOrChild = $props(); - - - - - {#snippet children({ thumbs })} - - - - {#each thumbs as thumb (thumb)} - - {/each} - {/snippet} -