Browse Source

Animate departure

Change-Id: I4cfaef39d7309973e2ef886875203797874ce6ba
Donald Carr 9 years ago
parent
commit
96ce070ba2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main.qml

+ 1 - 0
main.qml

@@ -38,6 +38,7 @@ Window {
             onXChanged: x = 0
             SequentialAnimation {
                 id: destroyAnimation
+                NumberAnimation { target: picture; property: "height"; to: 0; duration: 1000 }
                 ScriptAction { script: { picture.destroy(); } }
             }
         }