summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-23 14:49:52 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-23 14:49:52 +0800
commite801dd774243ecb88bb23c9e594d96b69af0bca8 (patch)
treed4b1a01dbcdde2c645297d2ebc2040fd658f4789
parenta4940b18bb4f6a8d3317439b338e8700bbc35db4 (diff)
fix(treewide): Behavior on color use ColorAnimation instead of NumberAnimation
-rw-r--r--bar/Bar.qml2
-rw-r--r--bar/Workspace.qml2
-rw-r--r--components/IRect.qml2
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
}