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

Allow multi-touch glis using pointer events. #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chr15m
Copy link

@chr15m chr15m commented Feb 2, 2023

Hello Kevin,

Thanks for this great project. This small patch adds the ability for multi-touch glis using the pointer-events API. That means you can wiggle around on multiple notes using multiple fingers and they will fire off correctly. You can test this by loading your demos up on a touch device and swiping over multiple keys (it helps to have some CSS to stop the page scrolling when you do this).

I found the releasePointerCapture trick here: https://stackoverflow.com/a/57046105

Let me know if there are any changes you want me to make. Thanks again.

@calvinagar
Copy link

bump!

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