mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
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:
parent
da53fe4a82
commit
06b647fcde
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ Controls.AbstractButton {
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
radius: Kirigami.Units.cornerRadius
|
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)
|
? Qt.rgba(Kirigami.Theme.highlightColor.r, Kirigami.Theme.highlightColor.g, Kirigami.Theme.highlightColor.b, 0.3)
|
||||||
: 'transparent'
|
: 'transparent'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue