Commit bbf4c996 authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Shorten tab hover animation from 400 ms to 200 ms.

Especially in refresh, 400 feels too slow.  In testing, 200 seemed much better.

BUG=none
TEST=none

Change-Id: Ib7a8519fac9baadbd6853d6b5810644e4e2b7433
Reviewed-on: https://chromium-review.googlesource.com/1107383Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568869}
parent e8d81d2c
...@@ -11,7 +11,7 @@ static const double kSubtleOpacityScale = 0.45; ...@@ -11,7 +11,7 @@ static const double kSubtleOpacityScale = 0.45;
static const double kPronouncedOpacityScale = 1.0; static const double kPronouncedOpacityScale = 1.0;
// How long the hover state takes. // How long the hover state takes.
static const int kTrackHoverDurationMs = 400; static const int kTrackHoverDurationMs = 200;
GlowHoverController::GlowHoverController(views::View* view) GlowHoverController::GlowHoverController(views::View* view)
: view_(view), animation_(this), opacity_scale_(kSubtleOpacityScale) { : view_(view), animation_(this), opacity_scale_(kSubtleOpacityScale) {
......
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