bar: workspaces active indicator tweak

Decrease size by 2 (px?) with 1 margin to make it seem the same size as occupied
This commit is contained in:
2 * r + 2 * t 2025-04-29 16:06:19 +10:00
parent 435f077f98
commit 02b80265d3

View file

@ -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