mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-29 05:47:23 +03:00
fix #744,improve more contrast for audio badges
This commit is contained in:
parent
ce54958ff7
commit
e92bc99223
@ -66,7 +66,7 @@ Item {
|
|||||||
border.color: root.minimizedDotColor
|
border.color: root.minimizedDotColor
|
||||||
radius: width/2
|
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{
|
Latte.IconItem{
|
||||||
@ -75,7 +75,7 @@ Item {
|
|||||||
width: 0.9*parent.width
|
width: 0.9*parent.width
|
||||||
height: width
|
height: width
|
||||||
|
|
||||||
opacity: mainItemContainer.playingAudio && !mainItemContainer.muted ? 1 : 0.85
|
//opacity: mainItemContainer.playingAudio && !mainItemContainer.muted ? 1 : 0.85
|
||||||
source: {
|
source: {
|
||||||
if (mainItemContainer.volume <= 0 || mainItemContainer.muted) {
|
if (mainItemContainer.volume <= 0 || mainItemContainer.muted) {
|
||||||
return "audio-volume-muted";
|
return "audio-volume-muted";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user