1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-08-21 13:49:29 +03:00

dont drop in-applet shadows for badges

This commit is contained in:
Michail Vourlakos
2021-02-06 09:35:49 +02:00
parent 09654e75b3
commit f58ad7af56

View File

@ -315,17 +315,6 @@ Item {
opacity: badgesLoader.activateProgress
visible: badgesLoader.showInfo || badgesLoader.showProgress
layer.enabled: taskItem.abilities.myView.itemShadow.isEnabled
&& taskItem.abilities.environment.isGraphicsSystemAccelerated
layer.effect: DropShadow {
color: taskItem.abilities.myView.itemShadow.shadowColor
fast: true
samples: 2 * radius
source: infoBadge
radius: taskItem.abilities.myView.itemShadow.size
verticalOffset: 2
}
}
AudioStream{
@ -333,17 +322,6 @@ Item {
anchors.fill: parent
opacity: badgesLoader.activateProgress
visible: badgesLoader.showAudio
layer.enabled: taskItem.abilities.myView.itemShadow.isEnabled
&& taskItem.abilities.environment.isGraphicsSystemAccelerated
layer.effect: DropShadow {
color: taskItem.abilities.myView.itemShadow.shadowColor
fast: true
samples: 2 * radius
source: audioStreamBadge
radius: taskItem.abilities.myView.itemShadow.size
verticalOffset: 2
}
}
Binding {