From 8664925e20f4f4b700ace48765477a9ca3fb36dd Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Wed, 6 Jan 2016 03:48:51 +0100 Subject: Allow faster scrolling in the dive list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This increases the rather conservative value for the maximum velocity of the divelist to scroll at max 5 screens per second, meaning it's about 4 times faster. I've picked this value after a bit of testing, it can surely be tweaked, but feels nicer already. Signed-off-by: Sebastian Kügler --- qt-mobile/qml/DiveList.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-mobile/qml/DiveList.qml') diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml index 116916cac..6c2d6aa90 100644 --- a/qt-mobile/qml/DiveList.qml +++ b/qt-mobile/qml/DiveList.qml @@ -165,6 +165,8 @@ MobileComponents.Page { currentIndex: -1 delegate: diveDelegate boundsBehavior: Flickable.StopAtBounds + maximumFlickVelocity: parent.height * 5 + cacheBuffer: parent.height * 5 //highlight: Rectangle { color: MobileComponents.Theme.highlightColor; width: MobileComponents.Units.smallSpacing } focus: true clip: true -- cgit v1.2.3-70-g09d2