From f88b21e681d907cdaf36c5e516247d1c075e267b Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 3 Apr 2026 19:33:28 +0200 Subject: [PATCH] add missing bezier curve for screen translator --- .../quickshell/ii/modules/common/Appearance.qml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dots/.config/quickshell/ii/modules/common/Appearance.qml b/dots/.config/quickshell/ii/modules/common/Appearance.qml index d64253476..bedf01ebc 100644 --- a/dots/.config/quickshell/ii/modules/common/Appearance.qml +++ b/dots/.config/quickshell/ii/modules/common/Appearance.qml @@ -282,6 +282,20 @@ Singleton { } } + property QtObject elementMoveSmall: QtObject { + property int duration: animationCurves.expressiveFastSpatialDuration + property int type: Easing.BezierSpline + property list bezierCurve: animationCurves.expressiveFastSpatial + property int velocity: 650 + property Component numberAnimation: Component { + NumberAnimation { + duration: root.animation.elementMoveSmall.duration + easing.type: root.animation.elementMoveSmall.type + easing.bezierCurve: root.animation.elementMoveSmall.bezierCurve + } + } + } + property QtObject elementMoveEnter: QtObject { property int duration: 400 property int type: Easing.BezierSpline @@ -361,7 +375,7 @@ Singleton { property QtObject scroll: QtObject { property int duration: 200 property int type: Easing.BezierSpline - property list bezierCurve: animationCurves.standardDecel + property list bezierCurve: root.animationCurves.standardDecel } property QtObject menuDecel: QtObject {