Animate rewind question


I want use this code

    animate({
        target: [circle0, circle1, circle2 ],
        props: { x: "-1000" },
        time: 5,
        loop: true,
        sequence: true,
        ease: "linear"
    });

replace under code,but why it auto rewind?

        animate({
        target: circle0,
        props: { x: "-1000" },
        time: 5,
        loop: true,
        ease: "linear"
    });
        animate({
        target: circle1,
        props: { x: "-1000" },
        time: 5,
        loop: true,
        ease: "linear"
    });
        animate({
        target:  circle2 ,
        props: { x: "-1000" },
        time: 5,
        loop: true,
        ease: "linear"
    });

Looks like a bug - will see what is happening.

Yes - found it. We had made setting rewindTime automatically set a rewind. So if rewindTime is set, we assume you want rewind. Well... the series code automatically copied the animate time to rewindTime even if rewind was not set. So when the series calls each animation, it was getting a rewindTime and setting rewind to true.

This has been patched in ZIM 018 - thanks.

1 Like