forked from Shinonome/dots-hyprland
vertical bar: fix weird occupied ws highlight when toggling bar floating
This commit is contained in:
@@ -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