mcomix3 icon indicating copy to clipboard operation
mcomix3 copied to clipboard

Improve horizontal scrolling behavior

Open foghawk opened this issue 3 years ago • 0 comments

Currently, horizontal scroll-wheel events are handled oddly. The scroll wheel can never be used to scroll horizontally, even when a horizontal scrollbar is present (contradicting the behavior described in the scroll_wheel_event docstring), and both scroll protection and the flip with wheel preference are ignored if the page would be turned forwards.

This patch permits horizontal scrolling when applicable and respects protection (and therefore flip with wheel) in all directions. _scroll_with_flipping already handles manga mode, so there's no need for this logic in scroll_wheel_event.

foghawk avatar Jan 20 '22 19:01 foghawk