fix the animation when changing clock's side count

This commit is contained in:
darksignal7
2025-10-06 19:01:53 +03:00
parent fac79c8a7d
commit 924a01bca6
@@ -7,7 +7,7 @@ import qs.modules.common
Item { Item {
id: root id: root
property int sides: 12 property real sides: 12
property int implicitSize: 100 property int implicitSize: 100
property real amplitude: implicitSize / 50 property real amplitude: implicitSize / 50
property int renderPoints: 360 property int renderPoints: 360
@@ -30,6 +30,9 @@ Item {
} }
} }
Behavior on sides {
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
}
Shape { Shape {
id: shape id: shape