Skip to content

how to destory an animation? #1273

@webstermobile

Description

@webstermobile

I made a scale animation test , you can visit https://codepen.io/echolove38/pen/oNEPKVE
when I click 'start' button, the rect scale from 20% to 80%,
when I click 'restore' button, restore the rect scale to 1,
but when I click 'start' again , the rect become smaller than before,
.....
...
loop the operates, the rect become more and more small.

so, why the animation still depends on last's result.
how to destory the last animation and start a new scale animation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions