diff options
author | Sebastian Kügler <sebas@kde.org> | 2016-01-06 03:48:51 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2016-01-06 03:50:10 +0100 |
commit | 8664925e20f4f4b700ace48765477a9ca3fb36dd (patch) | |
tree | d126d4f3711ed418dfe72357f1befac9a17905ef /qt-mobile/qml/DiveList.qml | |
parent | f747abaeb270e860dc81672077284d496d55c07a (diff) | |
download | subsurface-8664925e20f4f4b700ace48765477a9ca3fb36dd.tar.gz |
Allow faster scrolling in the dive list
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 <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r-- | qt-mobile/qml/DiveList.qml | 2 |
1 files changed, 2 insertions, 0 deletions
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 |