Commit 429e17c5 authored by Ian Hickson's avatar Ian Hickson

Merge pull request #786 from Hixie/pointers

Got the check the wrong way in the last patch.
parents d6f61e44 7243c562
...@@ -101,7 +101,7 @@ class _PointerEventConverter { ...@@ -101,7 +101,7 @@ class _PointerEventConverter {
// start sending us ADDED and REMOVED data points. In the meantime, we // start sending us ADDED and REMOVED data points. In the meantime, we
// only support "down" moves, and ignore spurious moves. // only support "down" moves, and ignore spurious moves.
// See also: https://github.com/flutter/flutter/issues/720 // See also: https://github.com/flutter/flutter/issues/720
if (state != null) if (state == null)
break; break;
assert(state.down); assert(state.down);
Offset offset = position - state.lastPosition; Offset offset = position - state.lastPosition;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment