diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 01:20:35 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 01:20:35 +0000 |
commit | 124e90f4e904b071d6807d970d37c8ab9893b891 (patch) | |
tree | ff183aae20b0ffbfff8208e681c86f0919d90f85 | |
parent | f3c430425a144dcdeb8352cae3dee02ce0328a31 (diff) | |
download | chromium_src-124e90f4e904b071d6807d970d37c8ab9893b891.zip chromium_src-124e90f4e904b071d6807d970d37c8ab9893b891.tar.gz chromium_src-124e90f4e904b071d6807d970d37c8ab9893b891.tar.bz2 |
Scroll bookmark bar folders faster.
BUG=http://crbug.com/42028
TEST=Scroll. See scroll. See scroll faster.
Review URL: http://codereview.chromium.org/3030008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53139 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/cocoa/bookmark_bar_folder_controller.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_folder_controller.mm b/chrome/browser/cocoa/bookmark_bar_folder_controller.mm index dd4056a..a58745e 100644 --- a/chrome/browser/cocoa/bookmark_bar_folder_controller.mm +++ b/chrome/browser/cocoa/bookmark_bar_folder_controller.mm @@ -21,12 +21,12 @@ namespace { // Frequency of the scrolling timer in seconds. -const NSTimeInterval kBookmarkBarFolderScrollInterval = 0.2; +const NSTimeInterval kBookmarkBarFolderScrollInterval = 0.1; // Amount to scroll by per timer fire. We scroll rather slowly; to -// accomodate we do 2 at a time. +// accomodate we do several at a time. const CGFloat kBookmarkBarFolderScrollAmount = - 2 * (bookmarks::kBookmarkButtonHeight + + 3 * (bookmarks::kBookmarkButtonHeight + bookmarks::kBookmarkVerticalPadding); // Amount to scroll for each scroll wheel delta. |