Fix browser menu button flood fill effect always originating from center
The MenuButton::PressedLock used to be always created with a null event from MenuController::Run() causing it to eventually call AnimateInkDrop() with a null event, which then used to clear the inkdrop host's `last_ripple_triggering_event_` which is used as the point from which the flood fill is generated. This CL passes the current located event (if any) to MenuButton::PressedLock. BUG=819878 Change-Id: I4fb18ab73f60c75af3bce948f44ac41a8c6683b8 Reviewed-on: https://chromium-review.googlesource.com/1089495Reviewed-by:Trent Apted <tapted@chromium.org> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#565538}
Showing
Please register or sign in to comment