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

Unified Diff: ui/app_list/views/contents_view.cc

Issue 305433002: Experimental app list slide animation is now horizontal, not vertical. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clip AppsGridView to avoid off-screen icons drawing over the start screen. Created 6 years, 7 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 | « ui/app_list/views/apps_grid_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/contents_view.cc
diff --git a/ui/app_list/views/contents_view.cc b/ui/app_list/views/contents_view.cc
index c07c867abb683828f0816b24cf25b4211f4b8a88..9c69d175c029f845da6fecab34a1badbd0bf604f 100644
--- a/ui/app_list/views/contents_view.cc
+++ b/ui/app_list/views/contents_view.cc
@@ -155,7 +155,7 @@ void ContentsView::CalculateIdealBounds() {
gfx::Rect incoming_target(rect);
gfx::Rect outgoing_target(rect);
- outgoing_target.set_y(-outgoing_target.height());
+ outgoing_target.set_x(-outgoing_target.width());
for (int i = 0; i < view_model_->view_size(); ++i) {
view_model_->set_ideal_bounds(i,
« no previous file with comments | « ui/app_list/views/apps_grid_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698