1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-16 07:24:23 +03:00

fix #744,improve more contrast for audio badges

This commit is contained in:
Michail Vourlakos 2017-11-20 20:39:18 +02:00
parent ce54958ff7
commit e92bc99223

View File

@ -66,7 +66,7 @@ Item {
border.color: root.minimizedDotColor
radius: width/2
opacity: mainItemContainer.playingAudio && !mainItemContainer.muted && mainItemContainer.volume>0 ? 1 : 0.85
//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.85
//opacity: mainItemContainer.playingAudio && !mainItemContainer.muted ? 1 : 0.85
source: {
if (mainItemContainer.volume <= 0 || mainItemContainer.muted) {
return "audio-volume-muted";