summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 20:55:41 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 20:55:41 +1000
commit4359b7447baaf21f50bf4c04c01b7399fff9a631 (patch)
tree95173180ed96583b8b05c7df2abe2c5e0c9b37dc
parentbar: animate tray (diff)
downloadcaelestia-shell-4359b7447baaf21f50bf4c04c01b7399fff9a631.tar.gz
caelestia-shell-4359b7447baaf21f50bf4c04c01b7399fff9a631.tar.bz2
caelestia-shell-4359b7447baaf21f50bf4c04c01b7399fff9a631.zip
bar: add missed colour animation
Missed animations for workspaces
-rw-r--r--modules/bar/components/workspaces/ActiveIndicator.qml16
-rw-r--r--modules/bar/components/workspaces/OccupiedBg.qml8
2 files changed, 24 insertions, 0 deletions
diff --git a/modules/bar/components/workspaces/ActiveIndicator.qml b/modules/bar/components/workspaces/ActiveIndicator.qml
index f6a78d2..027b575 100644
--- a/modules/bar/components/workspaces/ActiveIndicator.qml
+++ b/modules/bar/components/workspaces/ActiveIndicator.qml
@@ -39,6 +39,14 @@ Rectangle {
visible: false
anchors.fill: parent
color: Appearance.colours.base
+
+ Behavior on color {
+ ColorAnimation {
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
}
OpacityMask {
@@ -54,6 +62,14 @@ Rectangle {
anchors.verticalCenter: root.vertical ? undefined : parent.verticalCenter
}
+ Behavior on color {
+ ColorAnimation {
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
+
Behavior on leading {
Anim {}
}
diff --git a/modules/bar/components/workspaces/OccupiedBg.qml b/modules/bar/components/workspaces/OccupiedBg.qml
index e831558..520443f 100644
--- a/modules/bar/components/workspaces/OccupiedBg.qml
+++ b/modules/bar/components/workspaces/OccupiedBg.qml
@@ -78,6 +78,14 @@ BoxLayout {
}
]
+ Behavior on color {
+ ColorAnimation {
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
+
Behavior on roundLeft {
SequentialAnimation {
PropertyAction {