Skip to content

Actuate.stop with complete = true does not respect the reverse flag #99

@chatziko

Description

@chatziko

Actuate.stop(target, null, true) should apply the final values of the animation (as if it had finished normally). In case of a reverse'ed tween, these should be the original values of the target, but currently the values provided to Actuate.tween are set (the starting values of the animation).

target.x = 10;
Actuate.tween(target, 1, { x: 20 }).reverse();
Actuate.stop(target, null, true);
trace(target.x);
// outputs 20, should be 10

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