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

Remove onClick triggering onGestureStart in Control component #6

Merged
merged 1 commit into from Aug 22, 2022

Conversation

eulervoid
Copy link
Contributor

Having the onClick event fire the onGestureStart handler leads to unexpected behaviour. When just clicking the knob without moving the mouse in between, onGestureStart gets fired twice and onGestureEnd only once. I'd suggest removing the onClick to get the expected result, unless there is some other reason to keep it i am not aware of?

Copy link
Member

@httnn httnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@httnn httnn merged commit 8aaa762 into tahti-studio:master Aug 22, 2022
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