@@ -24,18 +24,18 @@ BaseSurfaceAnimation {
2424 outAnimations: [
2525 SequentialAnimation {
2626 UbuntuNumberAnimation { target: animation.surface; property: "opacity"; duration: UbuntuAnimation.FastDuration }
27− ColorAnimation { target: animation.surfaceArea; duration: UbuntuAnimation.FastDuration }
27+ ColorAnimation { target: animation.parent; duration: UbuntuAnimation.FastDuration }
2828 ScriptAction { script: { if (animation.parent.removing) animation.surface.release(); } }
2929 }
3030 ]
3131
3232 inChanges: [
33− PropertyChanges { target: animation.surfaceArea; color: Qt.rgba(0,0,0,0.7) },
33+ PropertyChanges { target: animation.parent; color: Qt.rgba(0,0,0,0.7) },
3434 PropertyChanges { target: animation.surface; opacity: 1.0 }
3535 ]
3636 inAnimations: [
3737 SequentialAnimation {
38− ColorAnimation { target: animation.surfaceArea; duration: UbuntuAnimation.FastDuration }
38+ ColorAnimation { target: animation.parent; duration: UbuntuAnimation.FastDuration }
3939 UbuntuNumberAnimation { target: animation.surface; property: "opacity"; duration: UbuntuAnimation.FastDuration }
4040 }
4141 ]