mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
change spring anims to expressive default spatial
This commit is contained in:
@@ -53,14 +53,10 @@ PanelWindow {
|
||||
anchors.fill: parent
|
||||
polygonIsNormalized: false
|
||||
roundedPolygon: MaterialShapes.customPolygon([new MaterialShapes.PointNRound(new Offset.Offset(root.screen.width, 0), new CornerRounding.CornerRounding(9999)),])
|
||||
// animation: NumberAnimation {
|
||||
// duration: 500
|
||||
// easing.type: Easing.BezierSpline
|
||||
// easing.bezierCurve: Appearance.animationCurves.expressiveDefaultSpatial
|
||||
// }
|
||||
animation: SpringAnimation {
|
||||
spring: 3.5
|
||||
damping: 0.35
|
||||
animation: NumberAnimation {
|
||||
duration: 500
|
||||
easing.type: Easing.BezierSpline
|
||||
easing.bezierCurve: Appearance.animationCurves.expressiveDefaultSpatial
|
||||
}
|
||||
color: Appearance.colors.colLayer0
|
||||
borderWidth: (root.currentPanel === bar && Config.options.bar.cornerStyle !== 1) ? 0 : 1
|
||||
|
||||
@@ -225,9 +225,10 @@ Shapes.ShapeCanvas {
|
||||
return MaterialShapes.customPolygon(points);
|
||||
}
|
||||
|
||||
component Anim: SpringAnimation {
|
||||
spring: 3.5
|
||||
damping: 0.3
|
||||
component Anim: NumberAnimation {
|
||||
duration: C.Appearance.animation.elementMove.duration
|
||||
easing.type: C.Appearance.animation.elementMove.type
|
||||
easing.bezierCurve: C.Appearance.animation.elementMove.bezierCurve
|
||||
}
|
||||
|
||||
Component {
|
||||
|
||||
Reference in New Issue
Block a user