From e801dd774243ecb88bb23c9e594d96b69af0bca8 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 23 Aug 2025 14:49:52 +0800 Subject: fix(treewide): Behavior on color use ColorAnimation instead of NumberAnimation --- bar/Bar.qml | 2 +- bar/Workspace.qml | 2 +- components/IRect.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bar/Bar.qml b/bar/Bar.qml index 27bc3e5..6a3ef3d 100644 --- a/bar/Bar.qml +++ b/bar/Bar.qml @@ -50,7 +50,7 @@ Scope { radius: Bar.moduleRadius Behavior on color { - NumberAnimation { + ColorAnimation { duration: General.animationDuration easing.type: Easing.InOutQuad } diff --git a/bar/Workspace.qml b/bar/Workspace.qml index ebeeb6c..70fc51f 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -43,7 +43,7 @@ Item { opacity: root.activeOccupied ? Bar.wsActiveOpacity : Bar.wsEmptyOpacity / 3 Behavior on color { - NumberAnimation { + ColorAnimation { duration: Bar.wsAnimationDuration easing.type: Easing.InOutQuad } diff --git a/components/IRect.qml b/components/IRect.qml index 383affa..a72b564 100644 --- a/components/IRect.qml +++ b/components/IRect.qml @@ -3,7 +3,7 @@ import qs.config Rectangle { Behavior on color { - NumberAnimation { + ColorAnimation { duration: General.animationDuration easing.type: Easing.InOutQuad } -- cgit v1.2.3