Explorar o código

Animate departure

Change-Id: I4cfaef39d7309973e2ef886875203797874ce6ba
Donald Carr %!s(int64=9) %!d(string=hai) anos
pai
achega
96ce070ba2
Modificáronse 1 ficheiros con 1 adicións e 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(); } }
             }
         }