★ wanayoo — archive 1999 https://github.com/TouchScript/TouchScript/issues/150Nouvelle recherche | Portail wanayoo
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

ActiveTouches list is cleared when gesture is recognized #150

Open
valyard opened this issue Feb 18, 2015 · 2 comments
Open

ActiveTouches list is cleared when gesture is recognized #150

valyard opened this issue Feb 18, 2015 · 2 comments
Labels

Comments

@valyard
Copy link
Contributor

@valyard valyard commented Feb 18, 2015

When TapGesture is recognized ActiveTouches array is already cleared.
There's a hack to cache hit position but not direct ITouchHit object.
Need to rethink this logic.

@valyard valyard added the enhancement label Feb 18, 2015
@NibbleByte
Copy link

@NibbleByte NibbleByte commented Feb 26, 2015

Currently ActiveTouches is not enough to get the hit target.
Please consider option where user can obtain where the gesture actually started to be possible, not when it begun.
Example: PanStarted event fires onBegin after some moving threshold of the active touch. At that moment, the currently hit object might be different from the initial possible object, which might get things very wrong. Same goes for discrete gestures (tap, flick, etc..).

(... as discussed in the forum ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.