schroda
e2dd5ad211
Use animation frames for auto scrolling continuous pagers
2024-12-30 02:13:56 +01:00
schroda
8eae025d8f
Use "coerceIn" util function
2024-12-29 23:41:27 +01:00
schroda
06d0f7147a
Update auto scroll direction on reader reading direction change
2024-12-29 23:41:25 +01:00
schroda
3238103ca0
Fix "rtl" detection in "useMouseDragScroll"
...
"isRTL" was set to the direction value instead of correctly to the boolean flag indicating if it is the actual rtl direction value.
This didn't cause any issues because for ltr because for ltr the result of "scrollAtT0.current[X] - delta[X])" was never less than "-maxScrollPos[X]" and for rtl it always used the expected value since "isRTL" was truthy.
2024-12-29 22:14:44 +01:00
schroda
e459e94b71
Properly invert scroll direction in "useAutomaticScrolling"
2024-12-29 22:04:46 +01:00
schroda
732f27f319
Fix "rtl" detection in "useAutomaticScrolling"
2024-12-29 22:04:21 +01:00
schroda
74d9e21c76
Abort auto scroll interval for callback mode
2024-12-29 21:42:00 +01:00
schroda
0e9d758c10
Use correct auto scroll amount for x/y direction
2024-12-27 03:12:19 +01:00
schroda
e2075a651e
Add "automatic scrolling"
2024-12-27 03:02:39 +01:00
schroda
33e184ba18
Add "auto webtoon mode" option to reader
2024-12-27 02:51:35 +01:00
schroda
3b62506452
Memoize "useBackButton" returned function
2024-12-25 23:49:17 +01:00
schroda
326e8b9881
Prevent EmptyView from taking over click events
...
E.g. in the reader it was not possible to open the overlay while the EmptyView was visible due to it blocking the readers click handling
2024-12-24 17:26:46 +01:00
schroda
2acc82289d
Add elevation to snackbar
...
Depending on the color of the background, the snackbar was hard to see, especially when using light mode
2024-12-23 02:46:56 +01:00
schroda
71373d4bd3
Remove unused space at bottom of snackbar without description
...
Get rid of unnecessary white space when there is no description to show
2024-12-23 02:41:31 +01:00
schroda
f1f660a546
Memoize "withPropsFrom" HOC
2024-12-22 00:48:22 +01:00
schroda
f5642af219
Use HOC for reader context usage
2024-12-22 00:48:18 +01:00
schroda
9e93a78a07
Use "getErrorMessage" everywhere
2024-12-21 23:27:03 +01:00
schroda
a4f1aa3234
Prevent "EmptyViewAbsoluteCentered" from overlapping content
...
Regression 1f7fe5f20e
2024-12-21 23:22:48 +01:00
schroda
28d0b470bf
Cancel confirmation dialog on backdrop click
2024-12-20 19:45:20 +01:00
schroda
1f7fe5f20e
Handle long extra messages in EmptyView
2024-12-20 19:23:56 +01:00
schroda
3949363474
Include actual error in snackbar
2024-12-20 17:24:40 +01:00
schroda
91a1f75de6
Properly center loading placeholders of non reader images
2024-12-20 13:06:12 +01:00
schroda
f72977c7ce
Add option to reset image filters to default
2024-12-17 16:53:00 +01:00
schroda
b9ea7abe65
Make reader setting slider inputs resettable to default
2024-12-16 22:09:01 +01:00
schroda
f51446995a
Fix "continuous vertical pager" unintentional page gaps
...
Depending on the screen size and e.g. the set "reader width" pages might not have filled out the full img elements size due to "object-fit contain".
This was caused due to the image wrappers flex container "align-items center" which slightly reduced the images width to some ".xy" number (e.g. instead of wrappers width 258px, the images were something like 257.83px)
2024-12-16 22:09:00 +01:00
schroda
d844ad3f5d
Use full height and width of viewport on iOS
...
- render appbar background color on ios status bar
- handle "home indicator" safe area inset
2024-12-16 14:49:35 +01:00
schroda
feacfe70f1
Show active setting in reader desktop nav bar
2024-12-13 16:38:41 +01:00
schroda
1e57533337
Highlight active settings in reader settings
2024-12-13 02:01:58 +01:00
schroda
858c3b4bcf
Display active profile for default value
...
In case the profile was not set and the default value got used, there was no indication of the active profile.
2024-12-12 02:09:19 +01:00
schroda
6dd2c8e2ff
Show chapter transition warning
...
- on scanlator change
- on skipped chapters
2024-12-11 22:38:04 +01:00
schroda
8ca0af8d02
Hide overlay on page/scroll change
2024-12-11 22:36:02 +01:00
schroda
cff0ed5ec3
Extract app routes into constant
2024-12-11 20:25:49 +01:00
schroda
8c4ff516c0
Rename "theme.tsx" to "ThemeCreator.ts"
2024-12-11 18:02:03 +01:00
schroda
b3e3d94bda
Move "theme.tsx" to proper module
2024-12-11 13:57:24 +01:00
schroda
2cd5a970cc
Add tooltips to reader desktop quick settings
2024-12-09 16:24:32 +01:00
schroda
9c5382ebd7
Support RTL mode for mouse drag inertia effect
...
Compared to LTR were the "scrollLeft" value is >= 0, for RTL it's <= 0 which was not handled and thus on applying the inertia effect, "scrollLeft" was always set to 0 due to preventing negative values
2024-12-09 16:12:37 +01:00
schroda
be0d1dbf30
Add logic to retry all errored pages
2024-12-09 02:38:37 +01:00
schroda
206c216093
Add mouse drag scrolling to continuous pagers
2024-12-09 02:38:37 +01:00
schroda
7cf78e771a
Reader page rendering
2024-12-09 02:38:37 +01:00
schroda
0b1c67ce9f
Reader hotkeys
2024-12-09 02:38:37 +01:00
schroda
0ae9d9ebb2
Custom reader profiles
2024-12-09 02:38:37 +01:00
schroda
a607f7f368
Reader settings
2024-12-09 02:38:37 +01:00
schroda
56684e405c
Reader overlay desktop nav bar
2024-12-09 02:38:37 +01:00
schroda
671059c65c
Reader overlay mobile bottom bar
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
schroda
c6f7ebd7c2
Close "language select" dialog on backdrop click and "esc" press
2024-11-28 12:36:39 +01:00
schroda
55dc1aa6a5
Show download progress only when started
2024-11-28 12:17:56 +01:00
schroda
a819d45489
Update to server download subscription changes
2024-11-28 12:17:55 +01:00
schroda
1d50edf1a1
Prioritize current reader page request
2024-11-13 15:47:04 +01:00