@@ -21,32 +21,32 @@ BaseSessionAnimation {
2121 id: animation
2222
2323 outChanges: [ AnchorChanges {
24− target: surfaceContainer;
25− anchors.top: sessionContainer.bottom
26− anchors.right: sessionContainer.right
27− anchors.left: sessionContainer.left
24+ target: container;
25+ anchors.top: container.parent.bottom
26+ anchors.right: container.parent.right
27+ anchors.left: container.parent.left
2828 }
2929 ]
3030 outAnimations: [
3131 SequentialAnimation {
32− PropertyAction { target: sessionContainer; property: "clip"; value: true }
32+ PropertyAction { target: container.parent; property: "clip"; value: true }
3333 AnchorAnimation { easing: UbuntuAnimation.StandardEasing; duration: UbuntuAnimation.BriskDuration }
34− PropertyAction { target: sessionContainer; property: "clip"; value: false }
35− ScriptAction { script: { sessionContainer.session.release(); } }
34+ PropertyAction { target: container.parent; property: "clip"; value: false }
35+ ScriptAction { script: { container.session.release(); } }
3636 }
3737 ]
3838
3939 inChanges: [
4040 AnchorChanges {
41− target: surfaceContainer;
42− anchors.top: sessionContainer.top
43− anchors.bottom: sessionContainer.bottom
41+ target: container;
42+ anchors.top: container.parent.top
43+ anchors.bottom: container.parent.bottom
4444 } ]
4545 inAnimations: [
4646 SequentialAnimation {
47− PropertyAction { target: sessionContainer; property: "clip"; value: true }
47+ PropertyAction { target: container.parent; property: "clip"; value: true }
4848 AnchorAnimation { easing: UbuntuAnimation.StandardEasing; duration: UbuntuAnimation.BriskDuration }
49− PropertyAction { target: sessionContainer; property: "clip"; value: false }
49+ PropertyAction { target: container.parent; property: "clip"; value: false }
5050 }
5151 ]
5252}