Skip to content

AnimationType.vector animates in an incorrect direction #72

@marcosgriselli

Description

@marcosgriselli

#70 introduced a new animation case called .vector(CGVector) which replaced the old .from(Direction, CGFloat) case. This new type has a bug where the animations are performed in an incorrect direction.

view.animate(animations: AnimationType.vector(CGVector(dx: 0, dy: 30)))

Should translate the view from top to bottom by 30 points but it's happening in a reversed order.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions