Quote:
Originally Posted by kovidgoyal
Yes, in 4.20 wheel event handling was changed to accomodate touchpads. They send pixel scroll events for even the slightest movement, which makes them unusable for turning pages, since they turn too fast. Look in paged_mode.pyj in the onwheel() function there it tests if the mode is pixel scroll and requires enough pixels to accumulate before actually scrolling. You can add print(evt.deltaMode) and run the viewer as calibre-debug -w file.epub from a console to see the print output.
|
This is what it outputs:
Code:
INFO: userscript:viewer.js:24: 0
This line appears for every increment on my mouse wheel (backward or forward).