public void TrackTouchMove(Point position, DateTime timestamp) { if (IsCompleted || IsAborted) return; Vector delta = position - StartPoint; if (delta.Length > _maxMovement) { AbortGesture(); } }
public void TrackTouchMove(Point position, DateTime timestamp) { if (IsCompleted || IsAborted) { return; } if (!firstTap.IsCompleted) { firstTap.TrackTouchMove(position, timestamp); } else if (!secondTap.IsCompleted) { secondTap.TrackTouchMove(position, timestamp); } }