1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

dankbar: fix separator

This commit is contained in:
bbedward
2025-10-23 22:40:28 -04:00
parent 0865ae000b
commit 492c0e7ef7

View File

@@ -1239,13 +1239,19 @@ Item {
Component { Component {
id: separatorComponent id: separatorComponent
Rectangle { Item {
width: barWindow.isVertical ? barWindow.widgetThickness * 0.67 : 1 width: barWindow.isVertical ? parent.barThickness : 1
height: barWindow.isVertical ? 1 : barWindow.widgetThickness * 0.67 height: barWindow.isVertical ? 1 : parent.barThickness
implicitWidth: width implicitWidth: width
implicitHeight: height implicitHeight: height
color: Theme.outline
opacity: 0.3 Rectangle {
width: barWindow.isVertical ? parent.width * 0.6 : 1
height: barWindow.isVertical ? 1 : parent.height * 0.6
anchors.centerIn: parent
color: Theme.outline
opacity: 0.3
}
} }
} }