mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #786 from Hixie/pointers
Got the check the wrong way in the last patch.
This commit is contained in:
commit
429e17c58f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user