on xenial help sign in
specify target for nested animation
34d63adNick Dedekind
qml/Panel/IndicatorsMenu.qml+2
@@ -45,6 +45,7 @@ Showable {
45 // use its own values. Need to ask design about this.
45 // use its own values. Need to ask design about this.
46 showAnimation: SequentialAnimation {
46 showAnimation: SequentialAnimation {
47 StandardAnimation {
47 StandardAnimation {
48+ target: root
48 property: "height"
49 property: "height"
49 to: openedHeight
50 to: openedHeight
50 duration: UbuntuAnimation.BriskDuration
51 duration: UbuntuAnimation.BriskDuration
@@ -56,6 +57,7 @@ Showable {
56
57
57 hideAnimation: SequentialAnimation {
58 hideAnimation: SequentialAnimation {
58 StandardAnimation {
59 StandardAnimation {
60+ target: root
59 property: "height"
61 property: "height"
60 to: minimizedPanelHeight
62 to: minimizedPanelHeight
61 duration: UbuntuAnimation.BriskDuration
63 duration: UbuntuAnimation.BriskDuration