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

Minor improvement in gesture handling and a small bugfix #9

Merged
merged 6 commits into from
Jan 11, 2019

Conversation

aksh1t
Copy link
Contributor

@aksh1t aksh1t commented Jan 11, 2019

In the original implementation longPress gesture had a delay of 0.07 seconds (to accommodate scrolling). This caused quick taps to not register. My implementation solves this by having another tap gesture which takes care of this edge case and which gets simultaneously detected with longPress.

There was another minor bug in the interactive scrolling (in MenuContents.swift). It would prevent scrolling back up when the selected element is near the top of the scrollview (during interactive scrolling).

@simsaens
Copy link
Owner

Thank you for this contribution. It's a really nice fix for the gesture lag introduced by scroll support.

@simsaens simsaens merged commit 913685b into simsaens:master Jan 11, 2019
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.

2 participants