tray: if background enabled and empty, background is hidden
This commit is contained in:
parent
90bb8b1d00
commit
3e977f212d
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ StyledRect {
|
|||
implicitWidth: Config.bar.sizes.innerWidth
|
||||
implicitHeight: nonAnimHeight
|
||||
|
||||
color: Qt.alpha(Colours.tPalette.m3surfaceContainer, Config.bar.tray.background ? Colours.tPalette.m3surfaceContainer.a : 0)
|
||||
color: Qt.alpha(Colours.tPalette.m3surfaceContainer, (Config.bar.tray.background && items.count > 0) ? Colours.tPalette.m3surfaceContainer.a : 0)
|
||||
radius: Appearance.rounding.full
|
||||
|
||||
Column {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue