Commit aabae3af authored by Hixie's avatar Hixie

Ignore hover events.

parent 1d8bea0a
......@@ -97,11 +97,12 @@ class _PointerEventConverter {
break;
case PointerType.MOVE:
_PointerState state = _pointers[datum.pointer];
// If the service starts supporting hover pointers, then it must
// also start sending us ADDED and REMOVED data points.
// In the meantime, we only support "down" moves.
// If the service starts supporting hover pointers, then it must also
// 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
assert(state != null);
if (state != null)
break;
assert(state.down);
Offset offset = position - state.lastPosition;
state.lastPosition = position;
......
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