From 7243c5629c791b89ca6fb085758a5bfe40d00200 Mon Sep 17 00:00:00 2001 From: Hixie Date: Mon, 7 Dec 2015 10:44:19 -0800 Subject: [PATCH] Got the check the wrong way in the last patch. TBR @abarth --- packages/flutter/lib/src/rendering/binding.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/rendering/binding.dart b/packages/flutter/lib/src/rendering/binding.dart index 44e06091852..b5ba17192e4 100644 --- a/packages/flutter/lib/src/rendering/binding.dart +++ b/packages/flutter/lib/src/rendering/binding.dart @@ -101,7 +101,7 @@ class _PointerEventConverter { // start sending us ADDED and REMOVED data points. In the meantime, we // only support "down" moves, and ignore spurious moves. // See also: https://github.com/flutter/flutter/issues/720 - if (state != null) + if (state == null) break; assert(state.down); Offset offset = position - state.lastPosition;