• Adam Barth's avatar
    Add a basic InkWell implementation · 0e5bb2d2
    Adam Barth authored
    This CL replaces the (non-working) components2 InkWell with some code based on
    the ink_well example. There are at least two issues with the implementation:
    
    1) The ink splash always starts at the center of the well because we don't have
       a facility for converting from global to local coordinates, which means we
       can't tell where the tap occurred in the local coordinates we need to use
       for painting.
    
    2) When used inside a MenuItem, the in splash disappears shortly after
       starting, presumably because the button starts highlighting, which causes a
       component rebuild and somehow we lose the RenderInkWell instance.
    
    I plan to address these issues in subsequent CLs.
    
    R=ianh@google.com
    
    Review URL: https://codereview.chromium.org/1172033003.
    0e5bb2d2
Name
Last commit
Last update
examples Loading commit data...