diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-06-04 01:54:14 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-06-04 01:54:14 (GMT) |
commit | 0288e838e9d2ab80cea65134861692cc09f528fb (patch) | |
tree | 27bcaf0b9acb9efb17d1d9fd39efe4e94eb918d2 /demos/declarative/flickr/content/Loading.qml | |
parent | 5ee5a67cfb74a3b6d0e1fc781352302e7216cbef (diff) | |
download | Qt-0288e838e9d2ab80cea65134861692cc09f528fb.zip Qt-0288e838e9d2ab80cea65134861692cc09f528fb.tar.gz Qt-0288e838e9d2ab80cea65134861692cc09f528fb.tar.bz2 |
Only run loading animation when visible.
Diffstat (limited to 'demos/declarative/flickr/content/Loading.qml')
-rw-r--r-- | demos/declarative/flickr/content/Loading.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/flickr/content/Loading.qml b/demos/declarative/flickr/content/Loading.qml index cf27e38..7488a66 100644 --- a/demos/declarative/flickr/content/Loading.qml +++ b/demos/declarative/flickr/content/Loading.qml @@ -1,6 +1,6 @@ Image { id: Loading; source: "pics/loading.png"; transformOrigin: "Center" rotation: NumericAnimation { - id: "RotationAnimation"; from: 0; to: 360; running:true; repeat: true; duration: 900 + id: "RotationAnimation"; from: 0; to: 360; running: Loading.visible == true; repeat: true; duration: 900 } } |