diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-08-23 14:49:52 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-08-23 14:49:52 +0800 |
| commit | e801dd774243ecb88bb23c9e594d96b69af0bca8 (patch) | |
| tree | d4b1a01dbcdde2c645297d2ebc2040fd658f4789 /bar | |
| parent | a4940b18bb4f6a8d3317439b338e8700bbc35db4 (diff) | |
fix(treewide): Behavior on color use ColorAnimation instead of NumberAnimation
Diffstat (limited to 'bar')
| -rw-r--r-- | bar/Bar.qml | 2 | ||||
| -rw-r--r-- | bar/Workspace.qml | 2 |
2 files changed, 2 insertions, 2 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 } |
