volumeosd: Only highlight when delegate is pressed

There is already the radio button to denote selected audio widgets, it's
otherwise very jarring.
This commit is contained in:
Devin Lin 2025-10-08 19:23:39 -04:00
parent da53fe4a82
commit 06b647fcde

View file

@ -46,7 +46,7 @@ Controls.AbstractButton {
background: Rectangle {
radius: Kirigami.Units.cornerRadius
color: ((baseItem.selected || baseItem.down) && !baseItem.onlyOne)
color: (baseItem.down)
? Qt.rgba(Kirigami.Theme.highlightColor.r, Kirigami.Theme.highlightColor.g, Kirigami.Theme.highlightColor.b, 0.3)
: 'transparent'
}