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

Unified Diff: ash/wm/app_list_controller.cc

Issue 10961020: cros: Fix mouse over-scroll animation not happening. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix jumping around when mouse is hovering on an item Created 8 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 | ui/app_list/app_list_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/app_list_controller.cc
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index 8f6ebcb9a9963d4b8c1ca7e83baa4788535cbded..262f91f11f34d95e9b790260089e570d68ee27d6 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -338,7 +338,7 @@ void AppListController::TransitionChanged() {
if (pagination_model_->is_valid_page(transition.target_page))
return;
- if (pagination_model_->scrolling()) {
+ if (!pagination_model_->IsRevertingCurrentTransition()) {
const int current_page = pagination_model_->selected_page();
const int dir = transition.target_page > current_page ? -1 : 1;
« no previous file with comments | « no previous file | ui/app_list/app_list_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698