reset position when not indeterminate anymore

This commit is contained in:
Marco Martin 2012-05-28 14:43:02 +02:00
parent 999dd60721
commit d3d8107e88

View File

@ -144,6 +144,12 @@ Item {
loops: Animation.Infinite loops: Animation.Infinite
onRunningChanged: {
if (!running) {
barPixmapItem.x = 0
}
}
PropertyAnimation { PropertyAnimation {
target: barPixmapItem target: barPixmapItem
property: "x" property: "x"