fix listview items being weird when changing both y and height

This commit is contained in:
end-4
2025-06-06 20:50:06 +02:00
parent 9111ada32b
commit eeb41de46c
@@ -46,40 +46,40 @@ ListView {
] ]
} }
displaced: Transition { // displaced: Transition {
animations: [ // animations: [
Appearance?.animation.elementMove.numberAnimation.createObject(this, { // Appearance?.animation.elementMove.numberAnimation.createObject(this, {
property: "y", // property: "y",
}), // }),
Appearance?.animation.elementMove.numberAnimation.createObject(this, { // Appearance?.animation.elementMove.numberAnimation.createObject(this, {
properties: "opacity,scale", // properties: "opacity,scale",
to: 1, // to: 1,
}), // }),
] // ]
} // }
move: Transition { // move: Transition {
animations: [ // animations: [
Appearance?.animation.elementMove.numberAnimation.createObject(this, { // Appearance?.animation.elementMove.numberAnimation.createObject(this, {
property: "y", // property: "y",
}), // }),
Appearance?.animation.elementMove.numberAnimation.createObject(this, { // Appearance?.animation.elementMove.numberAnimation.createObject(this, {
properties: "opacity,scale", // properties: "opacity,scale",
to: 1, // to: 1,
}), // }),
] // ]
} // }
moveDisplaced: Transition { // moveDisplaced: Transition {
animations: [ // animations: [
Appearance?.animation.elementMove.numberAnimation.createObject(this, { // Appearance?.animation.elementMove.numberAnimation.createObject(this, {
property: "y", // property: "y",
}), // }),
Appearance?.animation.elementMove.numberAnimation.createObject(this, { // Appearance?.animation.elementMove.numberAnimation.createObject(this, {
properties: "opacity,scale", // properties: "opacity,scale",
to: 1, // to: 1,
}), // }),
] // ]
} // }
remove: Transition { remove: Transition {
animations: [ animations: [