mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
vertical bar: fix weird occupied ws highlight when toggling bar floating
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user