From 5b02f84a86eb90d441655107f05bc533238cf2ef Mon Sep 17 00:00:00 2001 From: wryk Date: Fri, 10 Jan 2020 15:16:48 +0100 Subject: [PATCH] convert playing state to paused --- src/components/App.svelte | 2 +- src/components/Controls.svelte | 4 +- src/components/Viewer.svelte | 69 +++++++++++++++++++++++++++++----- src/store.js | 2 +- src/util.js | 2 - 5 files changed, 63 insertions(+), 16 deletions(-) diff --git a/src/components/App.svelte b/src/components/App.svelte index 32e2ae2..12e6dca 100644 --- a/src/components/App.svelte +++ b/src/components/App.svelte @@ -34,7 +34,7 @@ import { onMount } from 'svelte' import Controls from '/components/Controls.svelte' import Viewer from '/components/Viewer.svelte' - import { playing, loading, entry as currentEntry, entries } from '/store.js' + import { entry as currentEntry, entries } from '/store.js' onMount(() => { const unsubscribe = entries.subscribe(async (xs) => { diff --git a/src/components/Controls.svelte b/src/components/Controls.svelte index b70de0d..f80ded4 100644 --- a/src/components/Controls.svelte +++ b/src/components/Controls.svelte @@ -19,7 +19,7 @@
- +
@@ -30,7 +30,7 @@