on xenial help sign in
don't allow closing the dash in spread
commitf7f4d98bcc575390ca728f2d574d1f60765068c4 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 23 Jul 2014, 20:33 (12 years ago) parentc33e733
1 file changed+5
qml/Stages/SpreadDelegate.qml+5
qml/Stages/SpreadDelegate.qml+5
@@ -178,6 +178,11 @@ Item {
178178 }
179179
180180 onDragEnd: {
181+ if (model.appId == "unity8-dash") {
182+ animation.animate("center")
183+ return;
184+ }
185+
181186 // velocity and distance values specified by design prototype
182187 if ((dragVelocity < -units.gu(40) && distance < -units.gu(8)) || distance < -root.height / 2) {
183188 animation.animate("up")