Commit 5a33971
feat(reader): swipe to turn pages on touch devices (#766)
Override v-window's default touch handlers in the horizontal pager so
left/right swipes route through ``routeToDirection`` instead of trying
to flip between the (disabled) v-window items. Mirrors the keyboard
arrow behavior, so RTL handling is automatic via ``normalizeDirection``.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7536979 commit 5a33971
1 file changed
Lines changed: 16 additions & 0 deletions
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
90 | 105 | | |
91 | 106 | | |
92 | 107 | | |
| |||
119 | 134 | | |
120 | 135 | | |
121 | 136 | | |
| 137 | + | |
122 | 138 | | |
123 | 139 | | |
124 | 140 | | |
| |||
0 commit comments