diff options
Diffstat (limited to 'ash/shelf/overflow_button.cc')
-rw-r--r-- | ash/shelf/overflow_button.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/shelf/overflow_button.cc b/ash/shelf/overflow_button.cc index 79b2bcd..66bc2b8 100644 --- a/ash/shelf/overflow_button.cc +++ b/ash/shelf/overflow_button.cc @@ -71,9 +71,9 @@ void OverflowButton::PaintBackground(gfx::Canvas* canvas, int alpha) { SkPaint paint; paint.setAntiAlias(true); paint.setStyle(SkPaint::kFill_Style); - paint.setColor(SkColorSetARGB( - kButtonHoverAlpha * hover_animation_->GetCurrentValue(), - 0, 0, 0)); + paint.setColor( + SkColorSetA(SK_ColorBLACK, + hover_animation().CurrentValueBetween(0, kButtonHoverAlpha))); const SkScalar radius = SkIntToScalar(kButtonCornerRadius); SkPath path; |