refactor: use effects types for StateLayer

This commit is contained in:
2 * r + 2 * t 2026-04-23 01:08:38 +10:00
parent 04f34034c3
commit e66e8f448d

View file

@ -85,8 +85,7 @@ MouseArea {
target: circle target: circle
property: "opacity" property: "opacity"
to: 0 to: 0
easing: Tokens.anim.expressiveSlowEffects type: Anim.SlowEffects
duration: Tokens.anim.durations.expressiveSlowEffects
} }
StyledRect { StyledRect {
@ -179,8 +178,7 @@ MouseArea {
Behavior on stateOpacity { Behavior on stateOpacity {
Anim { Anim {
easing: Tokens.anim.expressiveDefaultEffects type: Anim.DefaultEffects
duration: Tokens.anim.durations.expressiveDefaultEffects
} }
} }
} }