rodrigoelp / wpfgesturerecognizer

The WPFGestureRecognizer is a library for .net framework applications based on WPF to wrap around UIElement's manipulation API, digesting and processing the events into gestures (swipes, taps, multi-touch) so developers can mimic the behaviour on WinRT apps in WPF. If you want to know more about the project, read the readme.md file.
Apache License 2.0
26 stars 9 forks source link

Improve gesture recognizer #12

Open msiraju opened 8 years ago

msiraju commented 8 years ago

Can it is possible to change the behavior of gesture library such that the swipe is triggered after an amount of drag is detected. Right now, you have to drag and then lift your finger to see the swipe action gets triggered. It would be more intuitive if it recognize dragging your finger a bit rather than waiting until the finger is lifted.

rodrigoelp commented 8 years ago

Hi @msiraju, I was thinking on refactoring the library to provide constant feedback about the action being recognised from the initial manipulation. I've swapped at work and that is the reason I haven't got around this.

The problem with this is the consumer of the trigger needs to take in some kind of argument (the manipulation vector) to let them know the direction of the swipe and possibly the intensity of it.