utilities/record: fix list expand anim

This commit is contained in:
2 * r + 2 * t 2025-09-15 21:58:36 +10:00
parent 7a9fce9dd4
commit ff901d825b

View file

@ -116,6 +116,10 @@ StyledRect {
sourceComponent: running ? recordingControls : recordingList sourceComponent: running ? recordingControls : recordingList
Behavior on Layout.preferredHeight { Behavior on Layout.preferredHeight {
id: locHeightAnim
enabled: false
Anim {} Anim {}
} }
@ -137,7 +141,17 @@ StyledRect {
easing.bezierCurve: Appearance.anim.curves.standardAccel easing.bezierCurve: Appearance.anim.curves.standardAccel
} }
} }
PropertyAction {
target: locHeightAnim
property: "enabled"
value: true
}
PropertyAction {} PropertyAction {}
PropertyAction {
target: locHeightAnim
property: "enabled"
value: false
}
ParallelAnimation { ParallelAnimation {
Anim { Anim {
target: listOrControls target: listOrControls