refactor: use new AnchorAnim component
This commit is contained in:
parent
d675478e91
commit
921c619ccb
5 changed files with 12 additions and 19 deletions
|
|
@ -4,6 +4,7 @@ import QtQuick
|
|||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import Caelestia.Config
|
||||
import qs.components
|
||||
import qs.components.containers
|
||||
import qs.services
|
||||
|
||||
|
|
@ -145,10 +146,7 @@ Variants {
|
|||
]
|
||||
|
||||
transitions: Transition {
|
||||
AnchorAnimation {
|
||||
duration: Tokens.anim.durations.expressiveDefaultSpatial
|
||||
easing: Tokens.anim.expressiveDefaultSpatial
|
||||
}
|
||||
AnchorAnim {}
|
||||
}
|
||||
|
||||
sourceComponent: DesktopClock {
|
||||
|
|
|
|||
|
|
@ -147,9 +147,8 @@ Column {
|
|||
]
|
||||
|
||||
transitions: Transition {
|
||||
AnchorAnimation {
|
||||
duration: Tokens.anim.durations.normal
|
||||
easing: Tokens.anim.emphasized
|
||||
AnchorAnim {
|
||||
type: AnchorAnim.Emphasized
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -172,9 +172,8 @@ StyledFlickable {
|
|||
}
|
||||
|
||||
transitions: Transition {
|
||||
AnchorAnimation {
|
||||
duration: Tokens.anim.durations.normal
|
||||
easing: Tokens.anim.standard
|
||||
AnchorAnim {
|
||||
type: AnchorAnim.Standard
|
||||
}
|
||||
Anim {
|
||||
properties: "implicitHeight,opacity,padding"
|
||||
|
|
|
|||
|
|
@ -310,9 +310,8 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
transitions: Transition {
|
||||
AnchorAnimation {
|
||||
duration: Tokens.anim.durations.normal
|
||||
easing: Tokens.anim.standard
|
||||
AnchorAnim {
|
||||
type: AnchorAnim.Standard
|
||||
}
|
||||
Anim {
|
||||
properties: "implicitHeight,opacity,padding"
|
||||
|
|
|
|||
|
|
@ -284,9 +284,8 @@ StyledRect {
|
|||
target: summary
|
||||
property: "maximumLineCount"
|
||||
}
|
||||
AnchorAnimation {
|
||||
duration: Tokens.anim.durations.normal
|
||||
easing: Tokens.anim.standard
|
||||
AnchorAnim {
|
||||
type: AnchorAnim.Standard
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -327,9 +326,8 @@ StyledRect {
|
|||
}
|
||||
|
||||
transitions: Transition {
|
||||
AnchorAnimation {
|
||||
duration: Tokens.anim.durations.normal
|
||||
easing: Tokens.anim.standard
|
||||
AnchorAnim {
|
||||
type: AnchorAnim.Standard
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue