From 02b80265d30a795986c623b05d83622df30da552 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 29 Apr 2025 16:06:19 +1000 Subject: bar: workspaces active indicator tweak Decrease size by 2 (px?) with 1 margin to make it seem the same size as occupied --- modules/bar/components/workspaces/ActiveIndicator.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/bar/components/workspaces/ActiveIndicator.qml b/modules/bar/components/workspaces/ActiveIndicator.qml index 7feab35..f6a78d2 100644 --- a/modules/bar/components/workspaces/ActiveIndicator.qml +++ b/modules/bar/components/workspaces/ActiveIndicator.qml @@ -23,10 +23,10 @@ Rectangle { property real offset: Math.min(leading, trailing) clip: true - x: vertical ? 0 : offset - y: vertical ? offset : 0 - width: vertical ? BarConfig.sizes.innerHeight : size - height: vertical ? size : BarConfig.sizes.innerHeight + x: vertical ? 1 : offset + 1 + y: vertical ? offset + 1 : 1 + width: (vertical ? BarConfig.sizes.innerHeight : size) - 2 + height: (vertical ? size : BarConfig.sizes.innerHeight) - 2 color: Appearance.colours.mauve radius: Appearance.rounding.full -- cgit v1.2.3-freya