diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 17:22:00 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 17:22:00 +1000 |
| commit | 6e8a32d4e40e25e1c077394f1638a43176ebf9ed (patch) | |
| tree | 26704741e0c3a41a9ca461c7bc148f58553bf8f7 /modules/bar/components/workspaces | |
| parent | internal: add canim component (diff) | |
| download | caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.gz caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.bz2 caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.zip | |
internal: use Anim component
Diffstat (limited to 'modules/bar/components/workspaces')
| -rw-r--r-- | modules/bar/components/workspaces/ActiveIndicator.qml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/bar/components/workspaces/ActiveIndicator.qml b/modules/bar/components/workspaces/ActiveIndicator.qml index fe5a3d0..3e265e2 100644 --- a/modules/bar/components/workspaces/ActiveIndicator.qml +++ b/modules/bar/components/workspaces/ActiveIndicator.qml @@ -63,13 +63,13 @@ StyledRect { Behavior on leading { enabled: Config.bar.workspaces.activeTrail - Anim {} + EAnim {} } Behavior on trailing { enabled: Config.bar.workspaces.activeTrail - Anim { + EAnim { duration: Appearance.anim.durations.normal * 2 } } @@ -77,24 +77,22 @@ StyledRect { Behavior on currentSize { enabled: Config.bar.workspaces.activeTrail - Anim {} + EAnim {} } Behavior on offset { enabled: !Config.bar.workspaces.activeTrail - Anim {} + EAnim {} } Behavior on size { enabled: !Config.bar.workspaces.activeTrail - Anim {} + EAnim {} } - component Anim: NumberAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline + component EAnim: Anim { easing.bezierCurve: Appearance.anim.curves.emphasized } } |