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

Fix horizontal scroll direction not working#305

Merged
hebertialmeida merged 1 commit into
FolioReader:masterfrom
revolter:hotfix/fix-horizontal-scroll
Jan 22, 2018
Merged

Fix horizontal scroll direction not working#305
hebertialmeida merged 1 commit into
FolioReader:masterfrom
revolter:hotfix/fix-horizontal-scroll

Conversation

@revolter
Copy link
Copy Markdown
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