aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2016-01-12 03:15:05 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-12 07:10:52 -0800
commit9fc19039df40362973f6a39bd13662370484037d (patch)
treeb3e6fffa4ebabe9d38fecc8d2361584edd01fda7 /qt-mobile/qml/DiveDetails.qml
parent877efebaacedfb7e7dc01bc8b4a820826c376fbf (diff)
downloadsubsurface-9fc19039df40362973f6a39bd13662370484037d.tar.gz
Better behavior for dive details flicking
- stop at bounds, this is in line with other flickables. I really don't like Flickables floppy default behavior to allow dragging and scrolling over the bounds. Signed-off-by: Sebastian Kügler <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index cae8aab0c..9b3d3129a 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -69,6 +69,7 @@ MobileComponents.Page {
Flickable {
//contentWidth: parent.width
contentHeight: diveDetails.height
+ boundsBehavior: Flickable.StopAtBounds
DiveDetailsView {
id: diveDetails
width: internalScrollView.width