on xenial help sign in
added comment for clipping
commita1319b9fa193b564f28c7971547b024dcee2726a authorNick Dedekind <nick.dedekind@canonical.com> dateMon 1 Sep 2014, 13:46 (12 years ago) parent2150ab8
1 file changed+2
qml/Stages/Animations/SwipeFromBottomAnimation.qml+2
qml/Stages/Animations/SwipeFromBottomAnimation.qml+2
@@ -28,6 +28,7 @@ BaseSessionAnimation {
2828 ]
2929 fromAnimations: [
3030 SequentialAnimation {
31+ // clip so we don't go out of parent's bounds during spread
3132 PropertyAction { target: container.parent; property: "clip"; value: true }
3233 AnchorAnimation { easing: UbuntuAnimation.StandardEasing; duration: UbuntuAnimation.BriskDuration }
3334 PropertyAction { target: container.parent; property: "clip"; value: false }
@@ -43,6 +44,7 @@ BaseSessionAnimation {
4344 ]
4445 toAnimations: [
4546 SequentialAnimation {
47+ // clip so we don't go out of parent's bounds during spread
4648 PropertyAction { target: container.parent; property: "clip"; value: true }
4749 AnchorAnimation { easing: UbuntuAnimation.StandardEasing; duration: UbuntuAnimation.BriskDuration }
4850 PropertyAction { target: container.parent; property: "clip"; value: false }