Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1543)

Unified Diff: ash/common/shelf/shelf_view.cc

Issue 2385753002: [Merge-M54] Fix possible overlapping icons in shelf on sync. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_view.cc
diff --git a/ash/common/shelf/shelf_view.cc b/ash/common/shelf/shelf_view.cc
index 9b9d314863237e4b91a6f7b5ddf1a5db5bdceab5..9a628474118740cc142d8f8cd54a49c834e0c620 100644
--- a/ash/common/shelf/shelf_view.cc
+++ b/ash/common/shelf/shelf_view.cc
@@ -1710,6 +1710,8 @@ void ShelfView::ShelfItemChanged(int model_index, const ShelfItem& old_item) {
new_view->SetBoundsRect(old_view->bounds());
if (overflow_button_ && overflow_button_->visible())
AnimateToIdealBounds();
+ else
+ bounds_animator_->AnimateViewTo(new_view, old_ideal_bounds);
return;
}
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698