Use same animation when dismissing greeter slide from launcher as from a greeter drag
commitc244861e805ced2e86971c1aa737ebb77fac1d13
authorMichael Terry <michael.terry@canonical.com>
dateMon 12 May 2014, 11:05 (12 years ago)
parentcae7d3f
qml/Shell.qml+4−1
@@ -370,7 +370,10 @@ FocusScope {
370370 width: parent.width
371371 height: parent.height - panel.panelHeight
372372
373− Behavior on x {SmoothedAnimation{velocity: 600}}
373+ Behavior on x {
374+ enabled: launcher.progress === 0
375+ StandardAnimation {}
376+ }
374377
375378 readonly property real showProgress: MathUtils.clamp((1 - x/width) + greeter.showProgress - 1, 0, 1)
376379