Index: ash/launcher/launcher_button.cc |
diff --git a/ash/launcher/launcher_button.cc b/ash/launcher/launcher_button.cc |
index c0fafbb84b6203c19cadba42b8cec2157090ab89..c6758eb00f0d090b8f0e298e8821cb74527cabcd 100644 |
--- a/ash/launcher/launcher_button.cc |
+++ b/ash/launcher/launcher_button.cc |
@@ -73,10 +73,13 @@ class LauncherButton::BarView : public views::ImageView, |
} |
void ShowAttention(bool show) { |
- if (show) |
+ if (show) { |
+ // It's less disruptive if we don't start the pulsing at 0. |
+ animation_.Reset(0.375); |
animation_.StartThrobbing(-1); |
- else |
- animation_.Reset(); |
+ } else { |
+ animation_.Reset(0.0); |
+ } |
} |
private: |