• Adam Barth's avatar
    Enforce that we get a final move to the pointer up location · ddd58c5e
    Adam Barth authored
    Previously we asserted that we got a pointer move to the location where the
    pointer up occured, but not all sources of pointer packets respect that
    invariant. Specifically, on the iOS simulator, of you drag outside the window,
    you'll get a stream of pointers that violates that invariant.
    
    This patch teaches the converter to insert a PointerMoveEvent to move the
    pointer to the location where the up occurs, repairing the invariant.
    
    Fixes #1912
    ddd58c5e
converter.dart 7.87 KB