Index: ash/wm/app_list_controller.cc |
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc |
index 437ba586dff462f2186f22f4b46d2ff02686f237..dadb881ff21e8d59ef30b77a41862a5b72c424bc 100644 |
--- a/ash/wm/app_list_controller.cc |
+++ b/ash/wm/app_list_controller.cc |
@@ -205,7 +205,8 @@ void AppListController::ScheduleAnimation() { |
ui::ScopedLayerAnimationSettings animation(layer->GetAnimator()); |
animation.SetTransitionDuration( |
- base::TimeDelta::FromMilliseconds(kAnimationDurationMs)); |
+ base::TimeDelta::FromMilliseconds( |
+ is_visible_ ? 0 : kAnimationDurationMs)); |
animation.AddObserver(this); |
layer->SetOpacity(is_visible_ ? 1.0 : 0.0); |