1
Vote

[Issue] HoldGestureEngine - HoldMaxMovement

description

Hi,
 
I have a little problem with HoldGestureEngine. Actually, the HoldMaxMovement doesn't work correctly when I specify a value (not -1).
 
In the HoldGestureEngine Class, the EndPoint is never initialize. So, the TranslationDelta isn't correct.
 
We can resolve it if we specify the EnPoint = position in the TrackTouchDown method and update the value in TrackTouchMove.

comments

dominiklancs wrote May 17, 2011 at 6:35 PM

In addition, I think you want to set the end point in TrackTouchDown like this:
this.StartPoint = this.EndPoint = position;

dominiklancs wrote May 17, 2011 at 6:36 PM

Oh, sorry, just realized that this was already suggested... I should read more carefully.

wrote Feb 14, 2013 at 5:57 PM