Commit Graph

14 Commits

Author SHA1 Message Date
schroda
3562f5f647 Add auto reader background color 2026-07-15 22:38:57 +02:00
schroda
8155bd6906 Update dependencies 2026-04-25 16:10:51 +02:00
schroda
1cccd1ea46 Simplify selecting zustand store state 2026-03-11 23:31:51 +01:00
schroda
72af9d52d1 Update lint rules 2026-03-11 19:42:02 +01:00
schroda
f549658dfa Update dependencies 2026-03-09 01:13:34 +01:00
schroda
576cf85c38 Cleanup reader store slices hooks 2026-02-21 17:33:13 +01:00
schroda
4da2f67b75 Fix page shift when toggling "offset double spreads" setting
The pages should get shifted to
- the left when enabling
- the right when disabling
the setting.

Currently, the "page push" is inverted.
This can cause the page that is most likely being read to get pushed out of the screen. Which then requires the user to change the page.

Example:

Active page: 1+2
Enable setting: -> 2 (currently) instead of -> 1
2026-02-21 15:15:47 +01:00
schroda
b6d7f6da5d Add zustand dev tools 2025-09-22 01:10:36 +02:00
schroda
f6b94c838b Fix reset of reader store
After the slice states got reset, the base reset function just reverted all those resets and only reset the base states in the store (manga, scrollbar, ...)
2025-09-22 01:10:35 +02:00
schroda
525173e05e Add dedicated store access util functions
Makes it easier to find the specific store slice usage
2025-09-21 01:16:59 +02:00
schroda
ed488f76dd Always use "useShallow" for store selection 2025-09-21 01:16:57 +02:00
schroda
ed53aff071 Extract "reader chapters store slice" into file 2025-09-21 01:16:39 +02:00
schroda
9f5db5496f Extract "reader pages store slice" into file 2025-09-21 01:16:36 +02:00
schroda
6da8a3fd87 Move reader store in sub dir 2025-09-21 01:16:33 +02:00