diff --git a/src/components/reader/Reader.svelte b/src/components/reader/Reader.svelte index 9e8d60c..5b313ba 100644 --- a/src/components/reader/Reader.svelte +++ b/src/components/reader/Reader.svelte @@ -17,7 +17,7 @@ import type { FitMode, MarkerColor } from "../../store/state.svelte"; const AVG_MIN_PER_PAGE = 0.33; - const READ_LINE_PCT = 0.20; + const READ_LINE_PCT = 0.50; const ZOOM_STEP = 0.05; const ZOOM_MIN = 0.1; const ZOOM_MAX = 1.0; @@ -349,8 +349,6 @@ $effect(() => { if (style !== "longstrip") { void store.pageNumber; inspectScale = 1; inspectPanX = 0; inspectPanY = 0; } }); - - $effect(() => { const chId = visibleChapterId; if (!chId || style !== "longstrip") return; @@ -432,11 +430,7 @@ if (store.settings.autoMarkRead && activePage !== null && activeChId) { const chunk = stripChaptersRef.find(c => c.chapterId === activeChId); const total = chunk ? chunk.urls.length : store.pageUrls.length; - if (total > 0 && activePage >= total) markChapterRead(activeChId); - } - if (containerEl.scrollTop + containerEl.clientHeight >= containerEl.scrollHeight - 40) { - const last = stripChaptersRef[stripChaptersRef.length - 1]; - if (last && store.settings.autoMarkRead) markChapterRead(last.chapterId); + if (total > 0 && activePage >= total - 1) markChapterRead(activeChId); } } @@ -998,54 +992,34 @@
- {#if style === "double"} - - {/if} - {#if style === "longstrip"} - - - {/if} - {#if !autoNext} - - {/if} + +
- +
+ +
+ +
- - {#if markerOpen} -