Panels: allow width animations with horizontal bars.

This commit is contained in:
ItsLemmy
2025-11-22 07:49:01 -05:00
parent 01a26fd910
commit 85ec32336b

View File

@@ -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
}