mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
volumeosd: Don't highlight audio device when there is only one entry
This commit is contained in:
parent
0da9ca21f8
commit
da53fe4a82
1 changed files with 1 additions and 3 deletions
|
|
@ -46,9 +46,7 @@ Controls.AbstractButton {
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
radius: Kirigami.Units.cornerRadius
|
radius: Kirigami.Units.cornerRadius
|
||||||
// border.width: 1
|
color: ((baseItem.selected || baseItem.down) && !baseItem.onlyOne)
|
||||||
// border.color: baseItem.selected ? Kirigami.Theme.highlightColor : 'transparent'
|
|
||||||
color: (baseItem.selected || baseItem.down)
|
|
||||||
? Qt.rgba(Kirigami.Theme.highlightColor.r, Kirigami.Theme.highlightColor.g, Kirigami.Theme.highlightColor.b, 0.3)
|
? Qt.rgba(Kirigami.Theme.highlightColor.r, Kirigami.Theme.highlightColor.g, Kirigami.Theme.highlightColor.b, 0.3)
|
||||||
: 'transparent'
|
: 'transparent'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue