Merge pull request #786 from Hixie/pointers

Got the check the wrong way in the last patch.
This commit is contained in:
Ian Hickson 2015-12-07 10:45:08 -08:00
commit 429e17c58f

View File

@ -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;