fix spinner animation: use delegate id instead of parent.index

This commit is contained in:
Damocles 2026-04-13 09:39:12 +02:00
parent af56ae064f
commit 2e1789ba7d

View file

@ -132,6 +132,7 @@ PanelWindow {
Repeater {
model: 12
Item {
id: spinDelegate
required property int index
SequentialAnimation {
loops: Animation.Infinite
@ -143,7 +144,7 @@ PanelWindow {
NumberAnimation {
id: _spin
target: fx
property: "_a" + parent.index
property: "_a" + spinDelegate.index
from: 0
to: 2 * Math.PI
duration: 1000 + Math.random() * 2000