Index: ash/common/wm/overview/window_grid.cc |
diff --git a/ash/common/wm/overview/window_grid.cc b/ash/common/wm/overview/window_grid.cc |
index acc094fa44571115533d014e78cf57a3cd9199c1..10003074a2dd524a2c284f7ff9437a0cccf6b66e 100644 |
--- a/ash/common/wm/overview/window_grid.cc |
+++ b/ash/common/wm/overview/window_grid.cc |
@@ -783,6 +783,10 @@ void WindowGrid::OnWindowBoundsChanged(WmWindow* window, |
// Immediately finish any active bounds animation. |
window->StopAnimatingProperty(ui::LayerAnimationElement::BOUNDS); |
+ if (ash::MaterialDesignController::IsOverviewMaterial()) { |
+ PositionWindows(false); |
+ return; |
+ } |
// Recompute the transform for the window. |
(*iter)->RecomputeWindowTransforms(); |
} |