summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthat <github@that.at>2015-02-06 00:23:05 +0100
committerthat <github@that.at>2015-02-06 00:23:05 +0100
commitae4b12eaef3525bda381258446fe9e92a7a0199f (patch)
tree58b1c33dca6db15fec13209bae50635b7ef995cf
parentUnify scrollable list code (diff)
downloadandroid_bootable_recovery-ae4b12eaef3525bda381258446fe9e92a7a0199f.tar
android_bootable_recovery-ae4b12eaef3525bda381258446fe9e92a7a0199f.tar.gz
android_bootable_recovery-ae4b12eaef3525bda381258446fe9e92a7a0199f.tar.bz2
android_bootable_recovery-ae4b12eaef3525bda381258446fe9e92a7a0199f.tar.lz
android_bootable_recovery-ae4b12eaef3525bda381258446fe9e92a7a0199f.tar.xz
android_bootable_recovery-ae4b12eaef3525bda381258446fe9e92a7a0199f.tar.zst
android_bootable_recovery-ae4b12eaef3525bda381258446fe9e92a7a0199f.zip
-rw-r--r--gui/scrolllist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/scrolllist.cpp b/gui/scrolllist.cpp
index 9e8db4c93..6143b60a2 100644
--- a/gui/scrolllist.cpp
+++ b/gui/scrolllist.cpp
@@ -27,9 +27,9 @@ extern "C" {
#include "objects.hpp"
#include "../data.hpp"
-const int SCROLLING_SPEED_DECREMENT = 12; // friction
+const int SCROLLING_SPEED_DECREMENT = 6; // friction
const int SCROLLING_FLOOR = 10; // minimum pixels for scrolling to start or stop
-const int SCROLLING_MULTIPLIER = 2; // initial speed of kinetic scrolling
+const int SCROLLING_MULTIPLIER = 1; // initial speed of kinetic scrolling
const float SCROLLING_SPEED_LIMIT = 2.5; // maximum number of items to scroll per update
GUIScrollList::GUIScrollList(xml_node<>* node) : GUIObject(node)