reset position when not indeterminate anymore
This commit is contained in:
parent
999dd60721
commit
d3d8107e88
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user