Explorar el Código

Animate departure

Change-Id: I4cfaef39d7309973e2ef886875203797874ce6ba
Donald Carr hace 9 años
padre
commit
96ce070ba2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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(); } }
             }
         }