diff --git a/Modules/MainScreen/PanelPlaceholder.qml b/Modules/MainScreen/PanelPlaceholder.qml index fedc4934..6f4f1de1 100644 --- a/Modules/MainScreen/PanelPlaceholder.qml +++ b/Modules/MainScreen/PanelPlaceholder.qml @@ -603,11 +603,7 @@ Item { Behavior on width { NumberAnimation { - duration: { - if (!panelBackground.shouldAnimateWidth) - return 0; - return root.isClosing ? Style.animationFast : Style.animationNormal; - } + duration: root.isClosing ? Style.animationFast : Style.animationNormal easing.type: Easing.BezierSpline easing.bezierCurve: panelBackground.bezierCurve }