1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-29 07:21:49 +03:00

fix #774,improve contrast for audio badges

This commit is contained in:
Michail Vourlakos 2017-11-20 20:36:10 +02:00
parent 51d6a85389
commit ce54958ff7

View File

@ -66,7 +66,7 @@ Item {
border.color: root.minimizedDotColor
radius: width/2
opacity: mainItemContainer.playingAudio && !mainItemContainer.muted && mainItemContainer.volume>0 ? 1 : 0.5
opacity: mainItemContainer.playingAudio && !mainItemContainer.muted && mainItemContainer.volume>0 ? 1 : 0.85
}
Latte.IconItem{
@ -75,7 +75,7 @@ Item {
width: 0.9*parent.width
height: width
opacity: mainItemContainer.playingAudio && !mainItemContainer.muted ? 1 : 0.5
opacity: mainItemContainer.playingAudio && !mainItemContainer.muted ? 1 : 0.85
source: {
if (mainItemContainer.volume <= 0 || mainItemContainer.muted) {
return "audio-volume-muted";