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

Add Event#touch_count; access each point via an index on touch_x/touch_y #117

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

dan42
Copy link
Contributor

@dan42 dan42 commented Sep 27, 2022

Fixes #109.
At the same time fixes #116 by adding a bound check.

@hmdne
Copy link
Member

hmdne commented Oct 5, 2022

Perhaps a good idea would be to add a #touches method that returns an Enumerable... but otherwise it's ok, thanks for the commit :D

@hmdne hmdne merged commit 4424983 into opal:master Oct 5, 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.

Event#touch_x raises a TypeError that can't be rescued on mobile can't get more than first touch
2 participants