1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-28 18:50:40 +03:00

restore panel shadows for docks

(cherry picked from commit 6070d2b0f01aff4d94b624b05a1f0c5fbdefdc00)
This commit is contained in:
Michail Vourlakos 2018-08-28 10:24:46 +03:00
parent 87f5650b3c
commit 472041db38

View File

@ -137,8 +137,10 @@ Item{
height: root.isVertical ? Math.min(parent.height + marginsHeight, root.height - marginsHeight) :
panelSize + marginsHeight - (solidBackground.topIncreaser + solidBackground.bottomIncreaser)
imagePath: root.behaveAsPlasmaPanel || !Latte.WindowSystem.compositingActive || !root.panelShadowsActive || !hasElementPrefix("shadow") ? "" : "widgets/panel-background"
prefix: root.behaveAsPlasmaPanel || !Latte.WindowSystem.compositingActive || !root.panelShadowsActive || !hasElementPrefix("shadow") ? "" : "shadow"
imagePath: root.behaveAsPlasmaPanel || !Latte.WindowSystem.compositingActive
|| !root.panelShadowsActive ? "" : "widgets/panel-background"
prefix: root.behaveAsPlasmaPanel || !Latte.WindowSystem.compositingActive
|| !root.panelShadowsActive ? "" : "shadow"
visible: (opacity == 0) ? false : true