Commit 85753fec authored by Andrew Xu's avatar Andrew Xu Committed by Commit Bot

Disable ink drop effect for arrow button

As requested by UX team, disable the ink drop effect of the scrollable
shelf's arrow button by this CL.

Bug: 1019012
Change-Id: I6a7224911cafb70167d4f152b53b93fdd3fa6004
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885500
Auto-Submit: Andrew Xu <andrewxu@chromium.org>
Commit-Queue: Manu Cornet <manucornet@chromium.org>
Reviewed-by: default avatarManu Cornet <manucornet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710339}
parent 524cceb5
......@@ -192,6 +192,7 @@ class ScrollableShelfView::ScrollableShelfArrowView
is_horizontal_alignment,
shelf,
shelf_button_delegate) {
SetInkDropMode(InkDropMode::OFF);
SetEventTargeter(std::make_unique<views::ViewTargeter>(this));
}
~ScrollableShelfArrowView() override = default;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment