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 information on how long a click took to complete #359

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

Conversation

TotalKrill
Copy link

Problem

When using pointerevents to spawn things, it is nice to use the hitdata from a click-event to know where. But it would be nice to be able to differentiate between a long click or a short click.

Solution

Have the Click Event contain a duration for how long between down and up, to let the handler logic determine what to do.

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