From 924a01bca67c3e9c85dd1d05602f31e81aa42cf9 Mon Sep 17 00:00:00 2001 From: darksignal7 Date: Mon, 6 Oct 2025 19:01:53 +0300 Subject: [PATCH] fix the animation when changing clock's side count --- .../quickshell/ii/modules/common/widgets/MaterialCookie.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/common/widgets/MaterialCookie.qml b/.config/quickshell/ii/modules/common/widgets/MaterialCookie.qml index 671f9b86f..16e09057d 100644 --- a/.config/quickshell/ii/modules/common/widgets/MaterialCookie.qml +++ b/.config/quickshell/ii/modules/common/widgets/MaterialCookie.qml @@ -7,7 +7,7 @@ import qs.modules.common Item { id: root - property int sides: 12 + property real sides: 12 property int implicitSize: 100 property real amplitude: implicitSize / 50 property int renderPoints: 360 @@ -30,6 +30,9 @@ Item { } } + Behavior on sides { + animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this) + } Shape { id: shape