forked from Shinonome/dots-hyprland
Bar.qml: Fix round decorators transparency and visibility consistency with bar
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user