diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 23:22:34 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 23:22:34 +1000 |
| commit | 43f8c36677f80a63abfa9b858586258a734dab17 (patch) | |
| tree | 7574a980b65b9504f37578529896a1dcc84aab62 | |
| parent | launcher: fix size when rapid close and reopen (diff) | |
| download | caelestia-shell-43f8c36677f80a63abfa9b858586258a734dab17.tar.gz caelestia-shell-43f8c36677f80a63abfa9b858586258a734dab17.tar.bz2 caelestia-shell-43f8c36677f80a63abfa9b858586258a734dab17.zip | |
bar: fix workspaces and tray icons
Should fix the anims not finishing
| -rw-r--r-- | modules/bar/components/Tray.qml | 16 | ||||
| -rw-r--r-- | modules/bar/components/workspaces/Workspace.qml | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/modules/bar/components/Tray.qml b/modules/bar/components/Tray.qml index 6280a30..15a6bc4 100644 --- a/modules/bar/components/Tray.qml +++ b/modules/bar/components/Tray.qml @@ -29,6 +29,22 @@ Item { } } + move: Transition { + NumberAnimation { + properties: "scale" + to: 1 + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.standardDecel + } + NumberAnimation { + properties: "x,y" + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.standard + } + } + Repeater { id: items diff --git a/modules/bar/components/workspaces/Workspace.qml b/modules/bar/components/workspaces/Workspace.qml index 6cf5c40..e50f65c 100644 --- a/modules/bar/components/workspaces/Workspace.qml +++ b/modules/bar/components/workspaces/Workspace.qml @@ -62,6 +62,17 @@ Item { } } + move: Transition { + Anim { + properties: "scale" + to: 1 + easing.bezierCurve: Appearance.anim.curves.standardDecel + } + Anim { + properties: "x,y" + } + } + Repeater { model: ScriptModel { values: Hyprland.clients.filter(c => c.workspace?.id === root.ws) |