diff --git a/containment/package/contents/ui/PanelBox.qml b/containment/package/contents/ui/PanelBox.qml --- a/containment/package/contents/ui/PanelBox.qml +++ b/containment/package/contents/ui/PanelBox.qml @@ -521,13 +521,7 @@ return 0; } - backgroundColor: { - if (busyBackground || coloredView) { - return colorizerManager.backgroundColor; - } - - return "transparent"; - } + backgroundColor: colorizerManager.backgroundColor borderWidth: 1 borderColor: backgroundColor @@ -568,6 +562,16 @@ enabled: !Latte.WindowSystem.compositingActive NumberAnimation { duration: 0 } } + + Behavior on backgroundColor{ + enabled: Latte.WindowSystem.compositingActive + ColorAnimation { duration: barLine.animationTime } + } + + Behavior on backgroundColor{ + enabled: !Latte.WindowSystem.compositingActive + ColorAnimation { duration: 0 } + } } //! Outline drawing