vertical bar: fix weird occupied ws highlight when toggling bar floating

This commit is contained in:
end-4
2025-08-19 22:16:27 +07:00
parent c452dd3538
commit 8fd1d9acef
2 changed files with 3 additions and 6 deletions
@@ -108,7 +108,6 @@ Item { // Bar content region
id: middleCenterGroup
vertical: true
padding: 6
Layout.fillHeight: true
Workspaces {
id: workspacesWidget
@@ -106,11 +106,7 @@ Item {
z: 1
spacing: 0
anchors {
top: parent.top
bottom: parent.bottom
horizontalCenter: parent.horizontalCenter
}
anchors.fill: parent
implicitWidth: Appearance.sizes.verticalBarWidth
Repeater {
@@ -126,6 +122,8 @@ Item {
property var radiusTop: previousOccupied ? 0 : (width / 2)
property var radiusBottom: nextOccupied ? 0 : (width / 2)
Layout.alignment: Qt.AlignHCenter
topLeftRadius: radiusTop
topRightRadius: radiusTop
bottomLeftRadius: radiusBottom