fix jumpy animation when closing an app from the spread
commitaba2f73fc39be394fc125055304ba418f829e346
authorMichael Zanetti <michael.zanetti@canonical.com>
dateMon 30 Jan 2017, 14:45 (10 years ago)
parent8a02dc2
qml/Stage/Stage.qml+3
@@ -1581,7 +1581,10 @@ FocusScope {
15811581 onDecorationReleased: fakeRectangle.commit();
15821582
15831583 property real angle: 0
1584+ Behavior on angle { enabled: priv.closingIndex >= 0; UbuntuNumberAnimation {} }
15841585 property real itemScale: 1
1586+ Behavior on itemScale { enabled: priv.closingIndex >= 0; UbuntuNumberAnimation {} }
1587+
15851588 transform: [
15861589 Scale {
15871590 origin.x: 0