refactor: use effects types for StateLayer
This commit is contained in:
parent
04f34034c3
commit
e66e8f448d
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue