mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
We don't seem to receive mojo::EVENT_TYPE_MOUSE_EXITED when the mouse exits our mojo::View. We should find out if that's a bug with the Mojo event system, but for now this CL adds a fake cancel event the next time the mouse goes down to at least keep the state machine on the right track. BUG=https://github.com/domokit/mojo/issues/40 R=eseidel@chromium.org Review URL: https://codereview.chromium.org/879543004