Fixed long tap

This commit is contained in:
r.kuznetsov 2016-08-12 13:51:43 +03:00 committed by Vladimir Byko-Ianko
parent 98996a1567
commit d573c90aef

View file

@ -651,11 +651,6 @@ bool UserEventStream::TouchMove(array<Touch, 2> const & touches, double timestam
isMapTouch = false;
break;
case STATE_TAP_DETECTION:
if (CheckDrag(touches, kDragThreshold))
CancelTapDetector();
else
EndTapDetector(touches[0]);
break;
case STATE_WAIT_DOUBLE_TAP:
if (CheckDrag(touches, kDragThreshold))
CancelTapDetector();