diff --git a/containment/package/contents/ui/PanelBox.qml b/containment/package/contents/ui/PanelBox.qml index a29230999..4bd7537bb 100644 --- a/containment/package/contents/ui/PanelBox.qml +++ b/containment/package/contents/ui/PanelBox.qml @@ -551,7 +551,15 @@ Item{ return 0; } + Behavior on opacity{ + enabled: Latte.WindowSystem.compositingActive + NumberAnimation { duration: barLine.animationTime } + } + Behavior on opacity{ + enabled: !Latte.WindowSystem.compositingActive + NumberAnimation { duration: 0 } + } } PlasmaCore.FrameSvgItem{