Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed unexpected positioning swiping fast with the finger #102

Merged
merged 1 commit into from Feb 26, 2018

Conversation

chrilith
Copy link
Contributor

Hi,

I found that when swiping with the finger instead of prev/next buttons, the offset may go over the expected bounds and thus, the last position (or alpha value) may ends at an unexpected position.

Clamping the offset to [0..1] fixed the problem for me, so here is my fix :)

Thanks!

@vadymmarkov vadymmarkov merged commit 076fa97 into hyperoslo:master Feb 26, 2018
@vadymmarkov
Copy link
Contributor

Thanks @chrilith

@chrilith
Copy link
Contributor Author

Thanks for the merge.

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

Successfully merging this pull request may close these issues.

None yet

2 participants