Commit 4d13de11 authored by Manas Verma's avatar Manas Verma Committed by Commit Bot

'Card saved' text is now not bold when clicked on.

After saving a card locally, we see a "Card saved" text animation. When the text is clicked on, the icon is highlighted and the text looks bold and clunky. This CL makes the text look normal.

Before: https://screenshot.googleplex.com/Jt3omKZ7RY9
After: https://screenshot.googleplex.com/jAMgKyYs3RQ


Bug: 881320
Change-Id: I604c981fad7171c88d93d95d9029a2aa0a70484e
Reviewed-on: https://chromium-review.googlesource.com/1236271Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Commit-Queue: Manas Verma <manasverma@google.com>
Cr-Commit-Position: refs/heads/master@{#593000}
parent d3b31424
......@@ -172,11 +172,11 @@ void PageActionIconView::OnThemeChanged() {
void PageActionIconView::AddInkDropLayer(ui::Layer* ink_drop_layer) {
image()->SetPaintToLayer();
image()->layer()->SetFillsBoundsOpaquely(false);
views::InkDropHostView::AddInkDropLayer(ink_drop_layer);
IconLabelBubbleView::AddInkDropLayer(ink_drop_layer);
}
void PageActionIconView::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
views::InkDropHostView::RemoveInkDropLayer(ink_drop_layer);
IconLabelBubbleView::RemoveInkDropLayer(ink_drop_layer);
image()->DestroyLayer();
}
......
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