MaterialSymbol: allow customization of fill anim

This commit is contained in:
end-4
2026-03-08 18:15:50 +01:00
parent 1fe219e215
commit e3dbaf4242
@@ -20,11 +20,12 @@ StyledText {
} }
} }
Behavior on fill { // Leaky leaky, no good property Animation fillAnimation: NumberAnimation {
NumberAnimation {
duration: Appearance?.animation.elementMoveFast.duration ?? 200 duration: Appearance?.animation.elementMoveFast.duration ?? 200
easing.type: Appearance?.animation.elementMoveFast.type ?? Easing.BezierSpline easing.type: Appearance?.animation.elementMoveFast.type ?? Easing.BezierSpline
easing.bezierCurve: Appearance?.animation.elementMoveFast.bezierCurve ?? [0.34, 0.80, 0.34, 1.00, 1, 1] easing.bezierCurve: Appearance?.animation.elementMoveFast.bezierCurve ?? [0.34, 0.80, 0.34, 1.00, 1, 1]
} }
Behavior on fill { // Leaky leaky, no good
animation: root.fillAnimation
} }
} }