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

Fix horizontal scroll direction not working #305

Merged

Conversation

revolter
Copy link
Member

Setting the scroll direction to horizontal on the config was
ignored because the current scroll direction returned 0 instead of
nil on the first run, so it never reaches the guard's else block.

Introduced by #237.
Related to #178.

Setting the scroll direction to horizontal on the config was
ignored because the current scroll direction returned 0 instead of
nil on the first run, so it never reaches the guard's else block.
@hebertialmeida hebertialmeida merged commit 95130bf into FolioReader:master Jan 22, 2018
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.

2 participants