From e024f896a6b7430bbc9933d234e072772cb5a02f Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 1 Jun 2025 17:53:28 +0200 Subject: [PATCH] left sidebar: fix width anim --- .config/quickshell/modules/sidebarLeft/SidebarLeft.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/modules/sidebarLeft/SidebarLeft.qml b/.config/quickshell/modules/sidebarLeft/SidebarLeft.qml index a6b6c206..80f5e17b 100644 --- a/.config/quickshell/modules/sidebarLeft/SidebarLeft.qml +++ b/.config/quickshell/modules/sidebarLeft/SidebarLeft.qml @@ -30,7 +30,6 @@ Scope { // Scope } onPinChanged: { - console.log("Sidebar pin state changed:", root.pin); if (root.pin) { sidebarContent.parent = null; // Detach content from sidebar sidebarLoader.active = false; // Unload sidebar @@ -105,6 +104,10 @@ Scope { // Scope color: Appearance.colors.colLayer0 radius: Appearance.rounding.screenRounding - Appearance.sizes.elevationMargin + 1 + Behavior on width { + animation: Appearance.animation.elementMove.numberAnimation.createObject(this) + } + Keys.onPressed: (event) => { if (event.key === Qt.Key_Escape) { sidebarRoot.hide();