From 5c3f27f332c8e67d3645cf35da2a787f40906d14 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 30 Apr 2025 12:35:47 +1000 Subject: bar: workspaces some fixes And anim occupied pill movement --- modules/bar/components/workspaces/OccupiedBg.qml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'modules/bar/components/workspaces/OccupiedBg.qml') diff --git a/modules/bar/components/workspaces/OccupiedBg.qml b/modules/bar/components/workspaces/OccupiedBg.qml index d4f77b9..c35cd33 100644 --- a/modules/bar/components/workspaces/OccupiedBg.qml +++ b/modules/bar/components/workspaces/OccupiedBg.qml @@ -29,7 +29,7 @@ Item { count++; } if (!occupied[ws + 1]) - pills[pills.length - 1].end = ws; + pills[count - 1].end = ws; } } if (pills.length > count) @@ -42,7 +42,7 @@ Item { Repeater { model: ScriptModel { - values: root.pills + values: root.pills.filter(p => p) } Rectangle { @@ -81,6 +81,14 @@ Item { } } + Behavior on x { + Anim {} + } + + Behavior on y { + Anim {} + } + Behavior on width { Anim {} } -- cgit v1.2.3-freya