convert playing state to paused

This commit is contained in:
wryk
2020-01-10 15:16:48 +01:00
parent e6e88fddd5
commit 5b02f84a86
5 changed files with 63 additions and 16 deletions

View File

@ -19,7 +19,7 @@
<div class="controls-group">
<button on:click={() => entry.previous()}>⏮️</button>
<button on:click={() => $playing = !$playing}>{#if $playing}{:else}{/if}</button>
<button on:click={() => $paused = !$paused}>{#if $paused}{:else}{/if}</button>
<button on:click={() => entry.next()}>⏭️</button>
</div>
@ -30,7 +30,7 @@
</div>
<script>
import { playing, volume, muted, entry } from '/store.js'
import { paused, volume, muted, entry } from '/store.js'
</script>
<style>