Commit Graph

18 Commits

Author SHA1 Message Date
schroda
c47889c2e3 Extract reader pages context default values 2025-01-21 19:19:31 +01:00
schroda
7c98bab43b Prevent TypeError and incorrect state updates for "pageLoadStates"
Page load state updates of an already closed chapter caused TypeErrors or incorrect state updates.
2024-12-30 21:03:10 +01:00
schroda
ce49084a89 Auto open next page after first change in single/double pager 2024-12-30 02:13:57 +01:00
schroda
c5630ca5ce Reset "pageToScrollToIndex" after page selection
In case the current page changed after selecting a page, the previously selected page couldn't be selected again since the "pageToScrollToIndex" was still set to this page
2024-12-28 01:28:12 +01:00
schroda
a69447384b Always open next page for auto scroll in single/double page mode
Depending on the reading direction, the previous page got opened instead of the next one.
2024-12-27 21:38:55 +01:00
schroda
7c0ce65683 Fix auto scroll related tsc issues 2024-12-27 03:36:34 +01:00
schroda
cff56c33e8 Prevent auto scroll direction invert for vertical reading mode 2024-12-27 03:10:51 +01:00
schroda
e2075a651e Add "automatic scrolling" 2024-12-27 03:02:39 +01:00
schroda
570b831604 Extract context types 2024-12-20 21:42:54 +01:00
schroda
9d37c8bc15 Rename context types 2024-12-20 21:35:00 +01:00
schroda
107bbfddbb Reset state on unmount
Prevent TypeErrors due to invalid previous state
2024-12-09 13:25:19 +01:00
schroda
be0d1dbf30 Add logic to retry all errored pages 2024-12-09 02:38:37 +01:00
schroda
965aa7215c Update chapter 2024-12-09 02:38:37 +01:00
schroda
fb31a92cd7 Reader transition page 2024-12-09 02:38:37 +01:00
schroda
7cf78e771a Reader page rendering 2024-12-09 02:38:37 +01:00
schroda
0ae9d9ebb2 Custom reader profiles 2024-12-09 02:38:37 +01:00
schroda
7434ed0152 Reader progress bars 2024-12-09 02:38:37 +01:00
schroda
51fb660c7b Reader tap zones 2024-12-09 02:38:37 +01:00