listview anims always run to end

This commit is contained in:
end-4
2025-11-26 22:55:09 +01:00
parent 9ba8723a5d
commit a786f0353e
2 changed files with 12 additions and 6 deletions
@@ -278,6 +278,7 @@ Singleton {
property int velocity: 650 property int velocity: 650
property Component numberAnimation: Component { property Component numberAnimation: Component {
NumberAnimation { NumberAnimation {
alwaysRunToEnd: true
duration: root.animation.elementMoveEnter.duration duration: root.animation.elementMoveEnter.duration
easing.type: root.animation.elementMoveEnter.type easing.type: root.animation.elementMoveEnter.type
easing.bezierCurve: root.animation.elementMoveEnter.bezierCurve easing.bezierCurve: root.animation.elementMoveEnter.bezierCurve
@@ -292,6 +293,7 @@ Singleton {
property int velocity: 650 property int velocity: 650
property Component numberAnimation: Component { property Component numberAnimation: Component {
NumberAnimation { NumberAnimation {
alwaysRunToEnd: true
duration: root.animation.elementMoveExit.duration duration: root.animation.elementMoveExit.duration
easing.type: root.animation.elementMoveExit.type easing.type: root.animation.elementMoveExit.type
easing.bezierCurve: root.animation.elementMoveExit.bezierCurve easing.bezierCurve: root.animation.elementMoveExit.bezierCurve
@@ -310,9 +312,10 @@ Singleton {
easing.bezierCurve: root.animation.elementMoveFast.bezierCurve easing.bezierCurve: root.animation.elementMoveFast.bezierCurve
}} }}
property Component numberAnimation: Component { NumberAnimation { property Component numberAnimation: Component { NumberAnimation {
duration: root.animation.elementMoveFast.duration alwaysRunToEnd: true
easing.type: root.animation.elementMoveFast.type duration: root.animation.elementMoveFast.duration
easing.bezierCurve: root.animation.elementMoveFast.bezierCurve easing.type: root.animation.elementMoveFast.type
easing.bezierCurve: root.animation.elementMoveFast.bezierCurve
}} }}
} }
@@ -323,6 +326,7 @@ Singleton {
property int velocity: 650 property int velocity: 650
property Component numberAnimation: Component { property Component numberAnimation: Component {
NumberAnimation { NumberAnimation {
alwaysRunToEnd: true
duration: root.animation.elementResize.duration duration: root.animation.elementResize.duration
easing.type: root.animation.elementResize.type easing.type: root.animation.elementResize.type
easing.bezierCurve: root.animation.elementResize.bezierCurve easing.bezierCurve: root.animation.elementResize.bezierCurve
@@ -336,9 +340,10 @@ Singleton {
property list<real> bezierCurve: animationCurves.expressiveDefaultSpatial property list<real> bezierCurve: animationCurves.expressiveDefaultSpatial
property int velocity: 850 property int velocity: 850
property Component numberAnimation: Component { NumberAnimation { property Component numberAnimation: Component { NumberAnimation {
duration: root.animation.clickBounce.duration alwaysRunToEnd: true
easing.type: root.animation.clickBounce.type duration: root.animation.clickBounce.duration
easing.bezierCurve: root.animation.clickBounce.bezierCurve easing.type: root.animation.clickBounce.type
easing.bezierCurve: root.animation.clickBounce.bezierCurve
}} }}
} }
@@ -54,6 +54,7 @@ ListView {
Behavior on contentY { Behavior on contentY {
NumberAnimation { NumberAnimation {
id: scrollAnim id: scrollAnim
alwaysRunToEnd: true
duration: Appearance.animation.scroll.duration duration: Appearance.animation.scroll.duration
easing.type: Appearance.animation.scroll.type easing.type: Appearance.animation.scroll.type
easing.bezierCurve: Appearance.animation.scroll.bezierCurve easing.bezierCurve: Appearance.animation.scroll.bezierCurve