From 6bc3ca7032c78c77a6e2b316789938221d686d8b Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Wed, 19 Feb 2025 15:39:48 +0100
Subject: frontend: Implement a better page indicator

This replaces the very simplistic x/y page indicator with a visual bar
at the bottom of the reader that allows the user quick access to any
arbitrary page. At the margins it shows the current page number(s) and
the total amount of pages.
---
 frontend/src/lib/reader/components/PageIndicator.svelte | 9 ---------
 1 file changed, 9 deletions(-)
 delete mode 100644 frontend/src/lib/reader/components/PageIndicator.svelte

(limited to 'frontend/src/lib/reader/components/PageIndicator.svelte')

diff --git a/frontend/src/lib/reader/components/PageIndicator.svelte b/frontend/src/lib/reader/components/PageIndicator.svelte
deleted file mode 100644
index d0a3d0c..0000000
--- a/frontend/src/lib/reader/components/PageIndicator.svelte
+++ /dev/null
@@ -1,9 +0,0 @@
-<script lang="ts">
-	import { getReaderContext } from '$lib/Reader.svelte';
-
-	const reader = getReaderContext();
-</script>
-
-<div class="floating p-2!">
-	{reader.page + 1}/{reader.pages.length}
-</div>
-- 
cgit v1.2.3-2-gb3c3

