on xenial help sign in
increase the minimal flick distance to 8 gus. There's still too many

accidental app closures with 4 gus.

commit4455e7317bfd0703bada167f3265380e02121062 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 14 Jul 2014, 11:18 (12 years ago) parent78289a8
1 file changed+2−2
qml/Stages/SpreadDelegate.qml+2−2
qml/Stages/SpreadDelegate.qml+2−2
@@ -170,9 +170,9 @@ Item {
170170 }
171171
172172 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) {
174174 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) {
176176 animation.animate("down")
177177 } else {
178178 animation.animate("center")