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

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

Issue 2364983002: 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
Index: ash/common/shelf/shelf_view.cc
diff --git a/ash/common/shelf/shelf_view.cc b/ash/common/shelf/shelf_view.cc
index 05076cc04a235e0ea6b413e4b812375efeb2dbf7..e9c16d4aa7b81310ffcd4fbdc071639c2d434c24 100644
--- a/ash/common/shelf/shelf_view.cc
+++ b/ash/common/shelf/shelf_view.cc
@@ -1709,6 +1709,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);
khmel 2016/09/23 16:50:33 We drop animation on line 1699 but not always recr
return;
}

Powered by Google App Engine
This is Rietveld 408576698