Skip to content

Commit

Permalink
Cut scroll threshold in half for pagination
Browse files Browse the repository at this point in the history
Bug: 760279
Change-Id: I122f307af8047932ee593e8f4baccd5591d74ad4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622767
Reviewed-by: Ahmed Mehfooz <amehfooz@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Commit-Queue: Angus McLean <angusmclean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844155}
  • Loading branch information
Angus L. M. McLean IV authored and Chromium LUCI CQ committed Jan 15, 2021
1 parent 82e6de7 commit b438da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ash/public/cpp/pagination/pagination_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace ash {
namespace {

// Constants for dealing with scroll events.
const int kMinScrollToSwitchPage = 20;
const int kMinScrollToSwitchPage = 10;
const int kMinHorizVelocityToSwitchPage = 800;

const double kFinishTransitionThreshold = 0.33;
Expand Down

0 comments on commit b438da1

Please sign in to comment.