Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Commit

Permalink
set layer transform after animation
Browse files Browse the repository at this point in the history
  • Loading branch information
amirdew committed Dec 26, 2019
1 parent 80caf1d commit ebfbe2f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class QuantityControllerView: UIView, NibBased {
animation.fromValue = CATransform3DIdentity
animation.toValue = newTransform
}
container.layer.transform = animation.toValue as! CATransform3D
container.layer.add(animation, forKey: nil)
CATransaction.commit()
}
Expand Down

0 comments on commit ebfbe2f

Please sign in to comment.