refact store again

This commit is contained in:
wryk
2020-02-14 16:48:49 +01:00
parent 9b87708077
commit dacc31ce77
6 changed files with 99 additions and 85 deletions

View File

@ -19,7 +19,7 @@
<button class:cant={!$canPrevious} on:click={() => selectPrevious()}>⏮️</button>
<button on:click={() => $paused = !$paused}>
{#if $index === null}
{#if $current === null}
▶️
{:else if $loading}
🕒
@ -44,7 +44,7 @@
paused,
muted,
volume,
index,
current,
queue,
canPrevious,
canNext,