• Adam Barth's avatar
    Improve hit testing · 9bc64540
    Adam Barth authored
    Now a RenderBox is considered hit if one of its children are hit or it itself
    decides that it's hit. In particular, empty space inside a flex won't be hit
    because none of the children are located there and a RenderFlex doesn't
    consider itself hittable.
    
    Fixes #53
    Fixes #1221
    9bc64540
toggleable.dart 2.12 KB