From 48f054c80976770b64c6b028d8adccac2c853a0c Mon Sep 17 00:00:00 2001 From: darksignal7 Date: Mon, 6 Oct 2025 22:50:46 +0300 Subject: [PATCH] change classic minuteHand anim --- .../ii/modules/background/cookieClock/SecondHand.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml b/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml index e7bdb0e84..0ce587850 100644 --- a/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml +++ b/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml @@ -50,8 +50,8 @@ Item { Rectangle { // Dot on the classic style opacity: root.style === "classic" ? 1.0 : 0.0 - implicitHeight: 14 - implicitWidth: 14 + implicitHeight: root.style === "classic" ? 14 : 0 + implicitWidth: root.style === "classic" ? 14 : 0 color: root.color radius: Appearance.rounding.small anchors { @@ -62,5 +62,11 @@ Item { Behavior on opacity { animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this) } + Behavior on implicitHeight { + animation: Appearance.animation.elementResize.numberAnimation.createObject(this) + } + Behavior on implicitWidth { + animation: Appearance.animation.elementResize.numberAnimation.createObject(this) + } } } \ No newline at end of file