]> cloud.milkyroute.net Git - dolphin.git/commitdiff
increase the acceleration when autoscrolling
authorPeter Penz <peter.penz19@gmail.com>
Thu, 4 Jun 2009 18:47:24 +0000 (18:47 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 4 Jun 2009 18:47:24 +0000 (18:47 +0000)
BUG: 194235

svn path=/trunk/KDE/kdebase/apps/; revision=977591

src/dolphinviewautoscroller.cpp

index 10bdebe3d9164b91553d2739d070478056ef03b6..c5d5e47d7224d7340da27cc7fc558cba153b21ff 100644 (file)
@@ -160,9 +160,9 @@ int DolphinViewAutoScroller::calculateScrollIncrement(int cursorPos, int rangeSi
 {
     int inc = 0;
 
 {
     int inc = 0;
 
-    const int minSpeed = 2;
-    const int maxSpeed = 32;
-    const int speedLimiter = 8;
+    const int minSpeed = 4;
+    const int maxSpeed = 64;
+    const int speedLimiter = 4;
     const int autoScrollBorder = 32;
 
     if (cursorPos < autoScrollBorder) {
     const int autoScrollBorder = 32;
 
     if (cursorPos < autoScrollBorder) {