summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/reader
diff options
context:
space:
mode:
authorWolfgang Müller2024-07-22 14:03:12 +0200
committerWolfgang Müller2024-07-22 14:08:40 +0200
commit4e6425585be1e9f2e2b9bc6dc5a5d3ba0f611d27 (patch)
treedd9f387a60a53203686156fdd49256caeb864939 /frontend/src/lib/reader
parented4f65804c8aef47367241d57caa5ac39fe0ce8f (diff)
downloadhircine-4e6425585be1e9f2e2b9bc6dc5a5d3ba0f611d27.tar.gz
frontend/reader: Allow switching to first or last page
Diffstat (limited to '')
-rw-r--r--frontend/src/lib/reader/PageView.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/lib/reader/PageView.svelte b/frontend/src/lib/reader/PageView.svelte
index 59136b4..08764b7 100644
--- a/frontend/src/lib/reader/PageView.svelte
+++ b/frontend/src/lib/reader/PageView.svelte
@@ -69,7 +69,9 @@
['PageUp', prev],
['PageDown', next],
[' ', next],
- ['Backspace', prev]
+ ['Backspace', prev],
+ ['Home', () => gotoChunk(0)],
+ ['End', () => gotoChunk(chunks.length - 1)]
]}
/>