forked from Shinonome/dots-hyprland
MaterialSymbol: allow customization of fill anim
This commit is contained in:
@@ -20,11 +20,12 @@ StyledText {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
property Animation fillAnimation: NumberAnimation {
|
||||||
|
duration: Appearance?.animation.elementMoveFast.duration ?? 200
|
||||||
|
easing.type: Appearance?.animation.elementMoveFast.type ?? Easing.BezierSpline
|
||||||
|
easing.bezierCurve: Appearance?.animation.elementMoveFast.bezierCurve ?? [0.34, 0.80, 0.34, 1.00, 1, 1]
|
||||||
|
}
|
||||||
Behavior on fill { // Leaky leaky, no good
|
Behavior on fill { // Leaky leaky, no good
|
||||||
NumberAnimation {
|
animation: root.fillAnimation
|
||||||
duration: Appearance?.animation.elementMoveFast.duration ?? 200
|
|
||||||
easing.type: Appearance?.animation.elementMoveFast.type ?? Easing.BezierSpline
|
|
||||||
easing.bezierCurve: Appearance?.animation.elementMoveFast.bezierCurve ?? [0.34, 0.80, 0.34, 1.00, 1, 1]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user