1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

dankbar: remove barTint Shape

This commit is contained in:
bbedward
2025-11-29 23:12:12 -05:00
parent 76062231fd
commit 621d4e4d92

View File

@@ -90,24 +90,6 @@ Item {
}
}
Shape {
id: barTint
anchors.fill: parent
preferredRendererType: Shape.CurveRenderer
readonly property real alphaTint: (barWindow._bgColor?.a ?? 1) < 0.99 ? (Theme.stateLayerOpacity ?? 0) : 0
ShapePath {
fillColor: Qt.rgba(Theme.surface.r, Theme.surface.g, Theme.surface.b, barTint.alphaTint)
strokeColor: "transparent"
strokeWidth: 0
PathSvg {
path: root.mainPath
}
}
}
Shape {
id: barBorder
anchors.fill: parent