From 8b439d891760185aa7f027973320ffee85f8f6a7 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 25 May 2025 20:37:35 +0200 Subject: [PATCH] styled switch: use correct anim curve for colors --- .config/quickshell/modules/common/widgets/StyledSwitch.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/StyledSwitch.qml b/.config/quickshell/modules/common/widgets/StyledSwitch.qml index e12583b90..be327967b 100644 --- a/.config/quickshell/modules/common/widgets/StyledSwitch.qml +++ b/.config/quickshell/modules/common/widgets/StyledSwitch.qml @@ -22,10 +22,10 @@ Switch { border.color: root.checked ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline Behavior on color { - animation: Appearance.animation.elementMove.colorAnimation.createObject(this) + animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this) } Behavior on border.color { - animation: Appearance.animation.elementMove.colorAnimation.createObject(this) + animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this) } } @@ -49,7 +49,7 @@ Switch { animation: Appearance.animation.elementMove.numberAnimation.createObject(this) } Behavior on color { - animation: Appearance.animation.elementMove.colorAnimation.createObject(this) + animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this) } } }