summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2015-08-13 16:49:31 +0200
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-08-13 16:49:31 +0200
commitf22b77975533db1c22276f2237a7565f405b77db (patch)
tree99f1d03277e5bc692f370d94665da7b09bd09012
parentff12628305c02cda0de13d4895bab73d0ea42646 (diff)
Fix PageView snapping and flicking behavior
-rw-r--r--src/qml/PageView.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/PageView.qml b/src/qml/PageView.qml
index d03bf8f..8c6bd4d 100644
--- a/src/qml/PageView.qml
+++ b/src/qml/PageView.qml
@@ -628,7 +628,8 @@ Rectangle {
model: listModel
delegate: delegate
highlightMoveDuration: animationDuration
- flickDeceleration: animationDuration / 2
+ highlightRangeMode: PathView.StrictlyEnforceRange
+ snapMode: PathView.SnapToItem
preferredHighlightBegin: 0.5
preferredHighlightEnd: 0.5