From fa5a16e057a65f03fc62d019ed3dd8394ad0e23c Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Tue, 5 Mar 2013 23:51:27 +0100 Subject: [PATCH] Inhibit autoscroll only for 30 seconds instead of 1 minute --- src/playlist/playlistview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playlist/playlistview.cpp b/src/playlist/playlistview.cpp index 10d37cbcc..d3539c5db 100644 --- a/src/playlist/playlistview.cpp +++ b/src/playlist/playlistview.cpp @@ -48,7 +48,7 @@ const int PlaylistView::kStateVersion = 5; const int PlaylistView::kGlowIntensitySteps = 24; -const int PlaylistView::kAutoscrollGraceTimeout = 60; // seconds +const int PlaylistView::kAutoscrollGraceTimeout = 30; // seconds const int PlaylistView::kDropIndicatorWidth = 2; const int PlaylistView::kDropIndicatorGradientWidth = 5; const char* PlaylistView::kSettingBackgroundImageType = "playlistview_background_type"; @@ -765,7 +765,7 @@ void PlaylistView::scrollContentsBy(int dx, int dy) { } void PlaylistView::InhibitAutoscrollTimeout() { - // For 1 minute after the user clicks on or scrolls the playlist we promise + // For 30 seconds after the user clicks on or scrolls the playlist we promise // not to automatically scroll the view to keep up with a track change. inhibit_autoscroll_ = false; }