diff --git a/dots/.config/quickshell/ii/modules/waffle/looks/WStackView.qml b/dots/.config/quickshell/ii/modules/waffle/looks/WStackView.qml index 0e396821d..218ec15fa 100644 --- a/dots/.config/quickshell/ii/modules/waffle/looks/WStackView.qml +++ b/dots/.config/quickshell/ii/modules/waffle/looks/WStackView.qml @@ -5,8 +5,10 @@ import qs.modules.waffle.looks StackView { id: root property real moveDistance: 30 - property int pushDuration: 220 + property int pushDuration: 200 + property int fadeDuration: 80 property list bezierCurve: Looks.transition.easing.bezierCurve.easeIn + property list fadeBezierCurve: Looks.transition.easing.bezierCurve.easeInOut clip: true property alias color: background.color @@ -27,9 +29,9 @@ StackView { properties: "opacity" from: 0 to: 1 - duration: root.pushDuration + duration: root.fadeDuration easing.type: Easing.BezierSpline - easing.bezierCurve: root.bezierCurve + easing.bezierCurve: root.fadeBezierCurve } } pushExit: Transition { @@ -44,9 +46,9 @@ StackView { properties: "opacity" from: 1 to: 0 - duration: root.pushDuration + duration: root.fadeDuration easing.type: Easing.BezierSpline - easing.bezierCurve: root.bezierCurve + easing.bezierCurve: root.fadeBezierCurve } } popEnter: Transition { @@ -61,9 +63,9 @@ StackView { properties: "opacity" from: 0 to: 1 - duration: root.pushDuration + duration: root.fadeDuration easing.type: Easing.BezierSpline - easing.bezierCurve: root.bezierCurve + easing.bezierCurve: root.fadeBezierCurve } } popExit: Transition { @@ -78,9 +80,9 @@ StackView { properties: "opacity" from: 1 to: 0 - duration: root.pushDuration + duration: root.fadeDuration easing.type: Easing.BezierSpline - easing.bezierCurve: root.bezierCurve + easing.bezierCurve: root.fadeBezierCurve } } }