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 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bar') 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 } -- cgit v1.2.3