mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-11 13:18:13 +03:00
add opacity for muted streams
This commit is contained in:
parent
4eebd8e34c
commit
044143ef92
@ -58,8 +58,16 @@ Item {
|
||||
radius: width/2
|
||||
|
||||
color: theme.backgroundColor
|
||||
border.width: 1
|
||||
border.color: root.minimizedDotColor
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "transparent"
|
||||
border.width: 1
|
||||
border.color: root.minimizedDotColor
|
||||
radius: width/2
|
||||
|
||||
opacity: mainItemContainer.playingAudio && !mainItemContainer.muted ? 1 : 0.4
|
||||
}
|
||||
|
||||
|
||||
Latte.IconItem{
|
||||
id: audioStreamIcon
|
||||
|
Loading…
Reference in New Issue
Block a user