flutter/packages/flutter_test
Greg Spencer 07aede4c31
Fix onExit calling when the mouse is removed. (#33477)
This PR solves two problems: currently, the onExit is called for a mouse pointer the moment the removal message is received, except that by the time it actually calls it, there is no _lastEvent for it in the mouse tracker (it's already been removed), resulting in an event being passed to the onExit that contains nulls for the position. Also, removePointer events don't actually get created with a position, although they easily could be, so that even the the _lastEvent in the mouse tracker were still populated, it would still give a null position and delta.

This PR adds support for the position and delta in a PointerRemovedEvent, and populates them. In addition, when a remove event is received, it doesn't actually remove the pointer until the mouse position check that gets scheduled actually happens.
2019-05-30 09:55:38 -07:00
..
lib Fix onExit calling when the mouse is removed. (#33477) 2019-05-30 09:55:38 -07:00
test Fix missing return statements on function literals (#33058) 2019-05-20 12:51:57 -07:00
BUILD.gn Leave source list empty for Fuchsia targets. (#15337) 2018-03-12 15:38:32 +01:00
pubspec.yaml Reland "Clean up some flutter_tools tests and roll dependencies" (#33225) 2019-05-29 19:04:35 -07:00