diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 12:56:35 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 12:56:35 +1000 |
| commit | 338c41f14f895c892958b7163486cd2912268fea (patch) | |
| tree | 321153dca68d8e4c9f0fb7a7a838aa36222c700e /modules/bar/components | |
| parent | feat: bar workspace groups (diff) | |
| download | caelestia-shell-338c41f14f895c892958b7163486cd2912268fea.tar.gz caelestia-shell-338c41f14f895c892958b7163486cd2912268fea.tar.bz2 caelestia-shell-338c41f14f895c892958b7163486cd2912268fea.zip | |
refactor: occupiedbg comp anim
Diffstat (limited to 'modules/bar/components')
| -rw-r--r-- | modules/bar/components/workspaces/OccupiedBg.qml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/modules/bar/components/workspaces/OccupiedBg.qml b/modules/bar/components/workspaces/OccupiedBg.qml index 9ff6df9..3737fc2 100644 --- a/modules/bar/components/workspaces/OccupiedBg.qml +++ b/modules/bar/components/workspaces/OccupiedBg.qml @@ -40,20 +40,18 @@ BoxLayout { Layout.preferredHeight: root.vertical ? root.workspaces[index]?.height ?? 1 : BarConfig.sizes.innerHeight Behavior on opacity { - NumberAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + Anim {} } } } Behavior on opacity { - NumberAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + Anim {} + } + + component Anim: NumberAnimation { + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.standard } } |