Commit 0593374c authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Commit Bot

Reduce Slider thumb size to 8dip diameter

Test: Manually tested UI
Change-Id: Ic92814101b9b8fd25c77ef9fb2f44b1531f7ceac
Bug: 951486
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1562223
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#649694}
parent 6b54c507
...@@ -51,9 +51,9 @@ constexpr int kSliderPadding = 2; ...@@ -51,9 +51,9 @@ constexpr int kSliderPadding = 2;
// The radius of the thumb and the highlighted thumb of the slider, // The radius of the thumb and the highlighted thumb of the slider,
// respectively. // respectively.
constexpr float kThumbRadius = 6.f; constexpr float kThumbRadius = 4.f;
constexpr float kThumbWidth = 2 * kThumbRadius; constexpr float kThumbWidth = 2 * kThumbRadius;
constexpr float kThumbHighlightRadius = 10.f; constexpr float kThumbHighlightRadius = 12.f;
// Duration of the thumb highlight growing effect animation. // Duration of the thumb highlight growing effect animation.
constexpr int kSlideHighlightChangeDurationMs = 150; constexpr int kSlideHighlightChangeDurationMs = 150;
......
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