Commit Graph
22 Commits
Author SHA1 Message Date
schroda 34efed7470 Revert "Support "produced characters" as hotkeys"
This reverts commit bc66d52701.

"useKey" is broken https://github.com/JohannesKlauss/react-hotkeys-hook/issues/1318
2026-05-13 23:55:34 +02:00
schroda bc66d52701 Support "produced characters" as hotkeys
"Produced characters" were not supported as hotkeys. I.e., using "!" as a hotkey was not possible.
2026-05-13 19:05:07 +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 576cf85c38 Cleanup reader store slices hooks 2026-02-21 17:33:13 +01:00
schroda daeb2a4e45 Access reader store setters directly without hook 2026-02-21 16:41:56 +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 d093fe0281 Prevent default action on hotkey by default 2025-11-16 22:32:18 +01: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 5730690ae6 Simplify ReaderControls#useHandleClick 2025-09-21 01:16:53 +02:00
schroda ca5920919e Simplify ReaderControls#useOpenPage 2025-09-21 01:16:51 +02:00
schroda f5c7379fc4 Simplify ReaderControls#useOpenChapter 2025-09-21 01:16:49 +02:00
schroda 6da8a3fd87 Move reader store in sub dir 2025-09-21 01:16:33 +02:00
schroda fb70d89940 Move reader "tap zone state" to "reader store" 2025-09-21 01:16:30 +02:00
schroda 98ec5257b9 Move reader "settings state" to "reader store" 2025-09-21 01:16:26 +02:00
schroda dabe50754f Move reader "auto-scroll state" to "reader store" 2025-09-21 01:16:17 +02:00
schroda e68cb65874 Move reader "overlay state" to "reader store" 2025-09-21 01:16:15 +02:00
schroda 433dc17c35 Move reader "manga state" to "reader store" 2025-09-21 01:16:04 +02:00
schroda 9e5af57a5f Move "core" folder out of "features" into "base" 2025-08-16 15:44:17 +02:00
schroda f4c06d474d Merge "Context" and "ContextProvider" components 2025-08-16 02:21:43 +02:00
schroda f548ba9502 Structure "reader" in sub-features 2025-08-16 02:02:13 +02:00