on xenial help sign in
increase the minimal flick distance to 8 gus. There's still too many
4455e73Michael Zanetti
qml/Stages/SpreadDelegate.qml+2−2
@@ -170,9 +170,9 @@ Item {
170 }
170 }
171
171
172 onDragEnd: {
172 onDragEnd: {
173− if ((dragVelocity < -600 && distance < -units.gu(4)) || distance < -root.height / 2) {
173+ if ((dragVelocity < -600 && distance < -units.gu(8)) || distance < -root.height / 2) {
174 animation.animate("up")
174 animation.animate("up")
175− } else if ((dragVelocity > 600 && distance > units.gu(4)) || distance > root.height / 2) {
175+ } else if ((dragVelocity > 600 && distance > units.gu(8)) || distance > root.height / 2) {
176 animation.animate("down")
176 animation.animate("down")
177 } else {
177 } else {
178 animation.animate("center")
178 animation.animate("center")