Commit 1475b2a4 authored by Yulun Wu's avatar Yulun Wu Committed by Commit Bot

Restore classic login shelf kiosk app button color.

This addresses a change in this CL

https://chromium-review.googlesource.com/c/chromium/src/+/2382222

Bug: 1134854
Change-Id: I3970a260b534dabed6dd8bbba849812f5edfaddf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462053Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Reviewed-by: default avatarYulun Wu <yulunwu@chromium.org>
Commit-Queue: Yulun Wu <yulunwu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815687}
parent 1322c499
......@@ -304,10 +304,10 @@ class KioskAppsButton : public views::MenuButton,
SetFocusPainter(nullptr);
SetInkDropMode(InkDropMode::ON);
SetHasInkDropActionOnClick(true);
AshColorProvider::RippleAttributes ripple_attributes =
AshColorProvider::Get()->GetRippleAttributes();
SetInkDropBaseColor(ripple_attributes.base_color);
SetInkDropVisibleOpacity(ripple_attributes.inkdrop_opacity);
SetInkDropBaseColor(
DeprecatedGetShelfInkDropBaseColor(kDefaultShelfInkDropColor));
SetInkDropVisibleOpacity(
DeprecatedGetShelfInkDropOpacity(kDefaultShelfInkDropOpacity));
// Layer rendering is required when the shelf background is visible, which
// happens when the wallpaper is not blurred.
......
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