diff options
author | Wolfgang Müller | 2024-07-22 14:03:12 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-07-22 14:08:40 +0200 |
commit | 4e6425585be1e9f2e2b9bc6dc5a5d3ba0f611d27 (patch) | |
tree | dd9f387a60a53203686156fdd49256caeb864939 /frontend | |
parent | ed4f65804c8aef47367241d57caa5ac39fe0ce8f (diff) | |
download | hircine-4e6425585be1e9f2e2b9bc6dc5a5d3ba0f611d27.tar.gz |
frontend/reader: Allow switching to first or last page
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/src/lib/reader/PageView.svelte | 4 |
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)] ]} /> |