marcosgriselli / marcosgriselli/ViewAnimator
AnimationType.vector animates in an incorrect direction
Open
bug
- Dominant language
- Swift
- Stars
- 7.3k
- Forks
- 483
- PR merge metrics
- No merged PRs in 30d
Description
#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.
```swift
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.