Bar.qml: Fix round decorators transparency and visibility consistency with bar (#1470)

This commit is contained in:
end-4
2025-06-19 17:15:25 +02:00
committed by GitHub
+3
View File
@@ -456,6 +456,7 @@ Scope {
bottom: ConfigOptions.bar.bottom ? barContent.top : undefined bottom: ConfigOptions.bar.bottom ? barContent.top : undefined
} }
height: Appearance.rounding.screenRounding height: Appearance.rounding.screenRounding
visible: showBarBackground
RoundCorner { RoundCorner {
anchors.top: parent.top anchors.top: parent.top
@@ -463,6 +464,7 @@ Scope {
size: Appearance.rounding.screenRounding size: Appearance.rounding.screenRounding
corner: ConfigOptions.bar.bottom ? cornerEnum.bottomLeft : cornerEnum.topLeft corner: ConfigOptions.bar.bottom ? cornerEnum.bottomLeft : cornerEnum.topLeft
color: showBarBackground ? Appearance.colors.colLayer0 : "transparent" color: showBarBackground ? Appearance.colors.colLayer0 : "transparent"
opacity: 1.0 - Appearance.transparency
} }
RoundCorner { RoundCorner {
anchors.top: parent.top anchors.top: parent.top
@@ -470,6 +472,7 @@ Scope {
size: Appearance.rounding.screenRounding size: Appearance.rounding.screenRounding
corner: ConfigOptions.bar.bottom ? cornerEnum.bottomRight : cornerEnum.topRight corner: ConfigOptions.bar.bottom ? cornerEnum.bottomRight : cornerEnum.topRight
color: showBarBackground ? Appearance.colors.colLayer0 : "transparent" color: showBarBackground ? Appearance.colors.colLayer0 : "transparent"
opacity: 1.0 - Appearance.transparency
} }
} }