Skip to content

Commit

Permalink
fix(dragdrop): The Drag and Drop gesture with touches is not recogniz…
Browse files Browse the repository at this point in the history
…ed properly
  • Loading branch information
dr1rrb committed Oct 16, 2020
1 parent d49a800 commit 5aedd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UWP/UI/Input/GestureRecognizer.Manipulation.cs
Expand Up @@ -341,7 +341,7 @@ private bool IsBeginningOfDragManipulation()
// This means that this method is expected to be invoked on each move (until manipulation starts)
// in order to update the _isDraggingEnable state.

var isInHoldPhase = current.Timestamp - down.Timestamp > DragWithTouchMinDelayTicks;
var isInHoldPhase = current.Timestamp - down.Timestamp < DragWithTouchMinDelayTicks;
if (isInHoldPhase && isOutOfRange)
{
// The pointer moved out of range while in the hold phase, so we completely disable the drag manipulation
Expand Down

0 comments on commit 5aedd5e

Please sign in to comment.