mirror of
https://github.com/hectorqin/reader.git
synced 2026-11-11 21:41:02 +08:00
Taps and keys already crossed chapters, but a reader scrolling by hand reached the last line and had to find 下一章 (#702, #698). A touch pull of more than 72px that starts at the end of a chapter, or wheel scrolling past it, now opens the next chapter; the same at the top goes back. Only a gesture that begins at the edge counts, so arriving at the end does not turn by itself, and a cooldown keeps trackpad momentum from turning a second chapter. Touch events are used because the browser cancels pointers once it scrolls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>