Reader: Allow scrolling small offsets in continuous mode. #11148
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Using the drag gestures is cumbersome and finicky, especially when you want to do it all the time. Thus, we add a new option here to modify the default tapping behavior.
Relates to #11139 made yesterday, based on @poire-z 's suggestion. Although that one-liner didn't work at all (it was merely being used in a >0 or <0 comparison, whether to go forward or backward), it was somewhat trivial to wrap the functionality that the mouse-wheel scroll implemented.
This merely brings consistency to the experience; previously, (and now, in the "legacy" setting), you'd notice the screen would scroll a little bit on each tap until you reached the end of an image, whereupon it'd completely transition to the new image.
I had no experience with Lua till yesterday, and I still wasn't able to get a toolchain working to compile this for my Kindle, so I've only tested on Linux so far.
This change is