Commit Graph

11 Commits

Author SHA1 Message Date
schroda
ad7e7f1771 Improve image preloading of previous/next chapter pages
The previous/next chapter only ever preloaded the first page, ignoring available preload contingent.
I.e., if all leading/trailing pages of the current chapter were loaded, the reader did not keep preloading the previous/next chapters pages
2026-06-04 15:32:11 +02:00
schroda
67d861c51b Fix marking chapter as read once end is reached by scrolling 2026-05-20 13:07:04 +02:00
schroda
8dada86285 Fix reader page scaling with applied safe area inset
The safe area inset wasn't applied everywhere, which potentially caused the scrollbar to appear while the pages should be fitting the screen

fixes #1102
2026-05-12 13:26:40 +02:00
schroda
72af9d52d1 Update lint rules 2026-03-11 19:42:02 +01:00
schroda
3dcdca7166 Reduce image rerenders in continuous reading modes on page change
In continuous reading modes the pages are always rendered regardless of if they are visible or not. This is the case to prevent layout shifts when prepending pages while scrolling up.

However, this means that a pages "load priority" and its "should load" flag changes everytime the current page changes, which causes unnecessary rerenders.
The "load priority" and "should load" flag do not matter once a page has been loaded and therefore should stay consistent once loaded.
2025-11-28 23:09:36 +01:00
schroda
48b57c4a74 Simplify reader visible page detection 2025-11-17 02:19:36 +01:00
schroda
36477d1c95 Simplify scroll page into view inline alignment determination 2025-11-17 01:37:32 +01:00
schroda
4cc5821ead Move reader "scrollbar state" to "reader store" 2025-09-21 01:16:10 +02:00
schroda
4e30081ed8 Move reader "pages" state to base reader types 2025-09-21 01:16:01 +02:00
schroda
9e5af57a5f Move "core" folder out of "features" into "base" 2025-08-16 15:44:17 +02:00
schroda
f548ba9502 Structure "reader" in sub-features 2025-08-16 02:02:13 +02:00