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