[PATCH] QML UI: make flicking between dives faster

Rick Walsh rickmwalsh at gmail.com
Wed Feb 10 12:58:13 PST 2016


Signed-off-by: Rick Walsh <rickmwalsh at gmail.com>
---

So the fix is very simple. There's a side-effect that vertical flicking speed is incresed too, but that doesn't seem like a bad thing.

qt-mobile/qml/DiveDetails.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index f0e2ff3..69c30e4 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -124,7 +124,7 @@ MobileComponents.Page {
 			model: diveModel
 			currentIndex: -1
 			boundsBehavior: Flickable.StopAtBounds
-			maximumFlickVelocity: parent.width/4
+			maximumFlickVelocity: parent.width * 5
 			orientation: ListView.Horizontal
 			focus: true
 			clip: true
-- 
2.5.0



More information about the subsurface mailing list