Commit c5e8b619 authored by minch's avatar minch Committed by Commit Bot

dark_mode: kOpaque instead of kTransparent80.

Update on the spec.

Bug: 1128755
Change-Id: I62a9cf60f33f3bc9c162cdb1aad68a811a2c4e6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2464046Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Min Chen <minch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815840}
parent 56a7f424
...@@ -277,8 +277,7 @@ class BackGestureContextualNudge::ContextualNudgeView ...@@ -277,8 +277,7 @@ class BackGestureContextualNudge::ContextualNudgeView
round_rect_flags.setStyle(cc::PaintFlags::kFill_Style); round_rect_flags.setStyle(cc::PaintFlags::kFill_Style);
round_rect_flags.setAntiAlias(true); round_rect_flags.setAntiAlias(true);
round_rect_flags.setColor(DeprecatedGetBaseLayerColor( round_rect_flags.setColor(DeprecatedGetBaseLayerColor(
AshColorProvider::BaseLayerType::kTransparent80, AshColorProvider::BaseLayerType::kOpaque, kLabelBackgroundColor));
kLabelBackgroundColor));
gfx::Rect label_bounds(label_->GetMirroredBounds()); gfx::Rect label_bounds(label_->GetMirroredBounds());
label_bounds.Inset(/*horizontal=*/-kLabelCornerRadius, label_bounds.Inset(/*horizontal=*/-kLabelCornerRadius,
/*vertical=*/-kLabelTopBottomInset); /*vertical=*/-kLabelTopBottomInset);
......
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