forked from Shinonome/dots-hyprland
styledswitch: fix wrong easing type
This commit is contained in:
@@ -47,21 +47,21 @@ Switch {
|
|||||||
Behavior on anchors.leftMargin {
|
Behavior on anchors.leftMargin {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: Appearance.animationCurves.expressiveFastSpatialDuration
|
duration: Appearance.animationCurves.expressiveFastSpatialDuration
|
||||||
easing.type: Easing.BezierCurve
|
easing.type: Easing.BezierSpline
|
||||||
easing.bezierCurve: Appearance.animationCurves.expressiveFastSpatial
|
easing.bezierCurve: Appearance.animationCurves.expressiveFastSpatial
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Behavior on width {
|
Behavior on width {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: Appearance.animationCurves.expressiveFastSpatialDuration
|
duration: Appearance.animationCurves.expressiveFastSpatialDuration
|
||||||
easing.type: Easing.BezierCurve
|
easing.type: Easing.BezierSpline
|
||||||
easing.bezierCurve: Appearance.animationCurves.expressiveFastSpatial
|
easing.bezierCurve: Appearance.animationCurves.expressiveFastSpatial
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Behavior on height {
|
Behavior on height {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: Appearance.animationCurves.expressiveFastSpatialDuration
|
duration: Appearance.animationCurves.expressiveFastSpatialDuration
|
||||||
easing.type: Easing.BezierCurve
|
easing.type: Easing.BezierSpline
|
||||||
easing.bezierCurve: Appearance.animationCurves.expressiveFastSpatial
|
easing.bezierCurve: Appearance.animationCurves.expressiveFastSpatial
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user