From f353363670e493a95cbaa9bc328544086f834955 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 24 Feb 2019 16:07:33 +0200 Subject: [PATCH] fix shadowing for separators --- containment/package/contents/ui/applet/ItemWrapper.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/containment/package/contents/ui/applet/ItemWrapper.qml b/containment/package/contents/ui/applet/ItemWrapper.qml index af9d18018..0c6c11b7c 100644 --- a/containment/package/contents/ui/applet/ItemWrapper.qml +++ b/containment/package/contents/ui/applet/ItemWrapper.qml @@ -516,13 +516,15 @@ Item{ || (root.forceTransparentPanel && plasmoid.configuration.shadows>0 && applet.pluginName !== root.plasmoidName)) /*on forced transparent state*/ onActiveChanged: { - if (active) { + if (active && !isSeparator) { wrapperContainer.opacity = 0; } else { wrapperContainer.opacity = 1; } } + opacity: isSeparator ? 0.4 : 1 + sourceComponent: DropShadow{ anchors.fill: parent color: root.appShadowColor //"#ff080808"