fix: handle animations by higher level nodes or states

This commit is contained in:
Kamil K 2022-07-05 19:34:03 +02:00 committed by Michał Cieślak
parent b8dcbb6187
commit e268edb988
3 changed files with 5 additions and 5 deletions

View File

@ -217,12 +217,12 @@ Rectangle {
Transition {
from: "COLLAPSED"
to: "EXPANDED"
NumberAnimation { properties: "height"; duration: 200; running: visible }
NumberAnimation { properties: "height"; duration: 200;}
},
Transition {
from: "EXPANDED"
to: "COLLAPSED"
NumberAnimation { properties: "height"; duration: 200; running: visible }
NumberAnimation { properties: "height"; duration: 200;}
}
]
}

View File

@ -212,8 +212,8 @@ Item {
id: blinkingAnimation
loops: Animation.Infinite
running: visible
NumberAnimation { target: inner; property: "opacity"; to: 0; duration: 800; running: visible }
NumberAnimation { target: inner; property: "opacity"; to: 1; duration: 800; running: visible }
NumberAnimation { target: inner; property: "opacity"; to: 0; duration: 800;}
NumberAnimation { target: inner; property: "opacity"; to: 1; duration: 800;}
}
}
}

View File

@ -52,7 +52,7 @@ Switch {
transitions: Transition {
reversible: true
NumberAnimation { properties: "x"; easing.type: Easing.Linear; duration: 120; running: visible }
NumberAnimation { properties: "x"; easing.type: Easing.Linear; duration: 120}
}
}
}