summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-08 22:32:54 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-11 22:49:58 +0200
commit3ebfea0d06695187a1e0d2acb40959fa03f6e280 (patch)
treef3f050f7abeb4774b04f6f5402b9e51d76a88bdb
parent2235eec33675a73d2b359feac56c4ba84921ffd9 (diff)
downloadkube-3ebfea0d06695187a1e0d2acb40959fa03f6e280.tar.gz
kube-3ebfea0d06695187a1e0d2acb40959fa03f6e280.zip
Reset the flickable speed to it's original
It's still not very usable, but we'll have to find a solution that is applicable everywhere and perhaps it is just a hardware problem. Increasing the deceleration just makes scrolling very slow, so that's no solution either.
-rw-r--r--framework/qml/ConversationView.qml12
1 files changed, 4 insertions, 8 deletions
diff --git a/framework/qml/ConversationView.qml b/framework/qml/ConversationView.qml
index 453ee3a0..d5b64ea4 100644
--- a/framework/qml/ConversationView.qml
+++ b/framework/qml/ConversationView.qml
@@ -62,6 +62,9 @@ Rectangle {
62 62
63 ListView { 63 ListView {
64 id: listView 64 id: listView
65
66 anchors.fill: parent
67
65 function setCurrentIndex() 68 function setCurrentIndex()
66 { 69 {
67 /** 70 /**
@@ -84,13 +87,6 @@ Rectangle {
84 } 87 }
85 } 88 }
86 89
87 anchors {
88 top: parent.top
89 left: parent.left
90 right: parent.right
91 bottom: parent.bottom
92 }
93
94 clip: true 90 clip: true
95 91
96 model: Kube.MailListModel { 92 model: Kube.MailListModel {
@@ -116,7 +112,7 @@ Rectangle {
116 boundsBehavior: Flickable.StopAtBounds 112 boundsBehavior: Flickable.StopAtBounds
117 113
118 //default is 1500, which is not usable with a mouse 114 //default is 1500, which is not usable with a mouse
119 flickDeceleration: 10000 115 flickDeceleration: 1500
120 116
121 //Optimize for view quality 117 //Optimize for view quality
122 pixelAligned: true 118 pixelAligned: true