From 4167bdc70e55926f57e8710b74dc860fd1fc2a1c Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 20 Jul 2025 15:45:06 +0800 Subject: Rect: use IRect with color animation --- bar/Workspace.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bar/Workspace.qml') diff --git a/bar/Workspace.qml b/bar/Workspace.qml index e62910e..22fef12 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -53,7 +53,7 @@ Item { } } } - Rectangle { + IRect { id: activeRect x: activeRectX anchors.verticalCenter: layout.verticalCenter @@ -89,7 +89,7 @@ Item { id: repeater model: Bar.workspaces - Rectangle { + IRect { property var st: getWorkspaceStats(index) property bool active: st?.isActive || false -- cgit v1.2.3