• Adam Barth's avatar
    DoubleTap gesture asserts when rejected · 07a9cc75
    Adam Barth authored
    The pointer router was using an iteration pattern that always delivers
    handleEvent calls even if you remove a route during the iteration.
    That's awkward to program against and causes trouble for the double-tap
    gesture.
    
    This patch switches PointerRouter to using a re-entrant iteration
    pattern that supports removing routes (but not adding routes) during the
    iteration.
    07a9cc75
pointer_router_test.dart 1.35 KB