Commit e574e27c authored by Jay Harris's avatar Jay Harris Committed by Commit Bot

Update separator opacity on visibility change

Bug: 904318
Change-Id: I3c0367bc925a5f3b78f3a0457c25ef3b7c807b38
Reviewed-on: https://chromium-review.googlesource.com/c/1333007Reviewed-by: default avatarJustin Donnelly <jdonnelly@chromium.org>
Commit-Queue: Jay Harris <harrisjay@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607765}
parent 9e889429
...@@ -170,6 +170,7 @@ void IconLabelBubbleView::SetLabel(const base::string16& label) { ...@@ -170,6 +170,7 @@ void IconLabelBubbleView::SetLabel(const base::string16& label) {
SetAccessibleName(label); SetAccessibleName(label);
label_->SetText(label); label_->SetText(label);
separator_view_->SetVisible(ShouldShowSeparator()); separator_view_->SetVisible(ShouldShowSeparator());
separator_view_->UpdateOpacity();
} }
void IconLabelBubbleView::SetImage(const gfx::ImageSkia& image_skia) { void IconLabelBubbleView::SetImage(const gfx::ImageSkia& image_skia) {
......
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