Skip to content

Conversation

@ftylitak
Copy link

As described in #32, in cse of multiple joysticks, releasing on joystick triggers onTouchEnd to all joysticks.

Using the changes in this PR, the joystick keeps the last touch event coordinates and accepts the onTouchEnd event only if the final touch coordinates deviate at most 10px.

I used this change in one of my projects and it works. I am nor really source about edge cased, but it remained to be examined.

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.

1 participant