File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/flutter/lib/src/rendering Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -97,11 +97,12 @@ class _PointerEventConverter {
97
97
break ;
98
98
case PointerType .MOVE :
99
99
_PointerState state = _pointers[datum.pointer];
100
- // If the service starts supporting hover pointers, then it must
101
- // also start sending us ADDED and REMOVED data points.
102
- // In the meantime, we only support "down" moves.
100
+ // If the service starts supporting hover pointers, then it must also
101
+ // start sending us ADDED and REMOVED data points. In the meantime, we
102
+ // only support "down" moves, and ignore spurious moves.
103
103
// See also: https://github.com/flutter/flutter/issues/720
104
- assert (state != null );
104
+ if (state != null )
105
+ break ;
105
106
assert (state.down);
106
107
Offset offset = position - state.lastPosition;
107
108
state.lastPosition = position;
You can’t perform that action at this time.
0 commit comments