Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: ui/native_theme/native_theme_aura.cc

Issue 2815833005: Update alpha values when painting overlay scrollbars. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_aura.cc
diff --git a/ui/native_theme/native_theme_aura.cc b/ui/native_theme/native_theme_aura.cc
index b6c070242b5a2be459a84369062d8b9608b3c5d3..5c2a462e90f1b83947ca481a9020801aa78cc118 100644
--- a/ui/native_theme/native_theme_aura.cc
+++ b/ui/native_theme/native_theme_aura.cc
@@ -200,11 +200,11 @@ void NativeThemeAura::PaintScrollbarThumb(
if (use_overlay_scrollbars_) {
// Constants used for painting overlay scrollbar thumb.
- constexpr SkAlpha kOverlayScrollbarFillAlphaNormal = 0x4D;
- constexpr SkAlpha kOverlayScrollbarFillAlphaHovered = 0x80;
- constexpr SkAlpha kOverlayScrollbarFillAlphaPressed = 0x80;
+ constexpr SkAlpha kOverlayScrollbarFillAlphaNormal = 0x80;
+ constexpr SkAlpha kOverlayScrollbarFillAlphaHovered = 0xB3;
+ constexpr SkAlpha kOverlayScrollbarFillAlphaPressed = 0xB3;
constexpr SkAlpha kOverlayScrollbarStrokeAlphaNormal = 0x4D;
- constexpr SkAlpha kOverlayScrollbarStrokeAlphaHovered = 0x58;
+ constexpr SkAlpha kOverlayScrollbarStrokeAlphaHovered = 0x80;
constexpr SkAlpha kOverlayScrollbarStrokeAlphaPressed = 0x80;
// Indexed by ScrollbarOverlayColorTheme.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698