Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Improve horizontal scrolling behavior #170

Open
wants to merge 1 commit into
base: gtk3
Choose a base branch
from

Conversation

foghawk
Copy link

@foghawk foghawk commented Jan 20, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant