summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2025-02-14 12:06:30 +0100
committerWolfgang Müller2025-02-14 12:06:30 +0100
commit217ac00a87781d9e0b74e85479e256b59c1810ac (patch)
treec5c2a592cb02ba50a9ad980ee78170b1bb3cb67c
parent6ddbdfa0258c2a912ce4e4340c6f11484c48a359 (diff)
downloadhircine-217ac00a87781d9e0b74e85479e256b59c1810ac.tar.gz
frontend: Bind PageView to form input instead of Comic
Commit dc4db40 (frontend: Migrate to Svelte 5, 2025-02-13) accidentally regressed reader behaviour where updates to the page layout and page direction where no longer shown immediately. Make sure to bind PageView to the comic form input to fix this.
-rw-r--r--frontend/src/routes/comics/[id]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/routes/comics/[id]/+page.svelte b/frontend/src/routes/comics/[id]/+page.svelte
index 48c588f..abe3798 100644
--- a/frontend/src/routes/comics/[id]/+page.svelte
+++ b/frontend/src/routes/comics/[id]/+page.svelte
@@ -147,7 +147,7 @@
</Grid>
<Reader>
- <PageView layout={comic.layout} direction={comic.direction} />
+ <PageView layout={input.layout} direction={input.direction} />
{#snippet sidebar()}
{#if input}
<ComicForm bind:input {submit}>