diff --git a/Bar.qml b/Bar.qml index 49449ef..4b32b13 100644 --- a/Bar.qml +++ b/Bar.qml @@ -73,7 +73,7 @@ Scope { Region { required property Item modelData - x: modelData.x + 9 + x: modelData.x y: modelData.y + backgroundRect.implicitHeight width: modelData.width height: panels.popouts.hasCurrent ? modelData.height + 70 : 0 diff --git a/Modules/Workspaces.qml b/Modules/Workspaces.qml index 82c9597..8d8ec41 100644 --- a/Modules/Workspaces.qml +++ b/Modules/Workspaces.qml @@ -15,6 +15,14 @@ Item { anchors.top: parent.top anchors.bottom: parent.bottom implicitWidth: workspacesRow.implicitWidth + 10 + + Behavior on implicitWidth { + NumberAnimation { + duration: MaterialEasing.expressiveEffectsTime + easing.bezierCurve: MaterialEasing.expressiveEffects + } + } + Rectangle { id: root @@ -38,13 +46,6 @@ Item { color: Config.useDynamicColors ? DynamicColors.tPalette.m3surfaceContainer : "#40000000" radius: height / 2 - Behavior on implicitWidth { - NumberAnimation { - duration: 100 - easing.type: Easing.InOutQuad - } - } - Behavior on color { CAnim {} }