1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-11 05:05:23 +03:00

Remove unused unityBounds

This commit is contained in:
Alisa Mylnikova 2019-07-02 16:02:14 +07:00
parent 7d30237600
commit 817caf8aa1

View File

@ -243,12 +243,6 @@ class AnimationProducer {
let startDate = Date(timeInterval: contentsAnimation.delay, since: Date())
var unionBounds = contentsAnimation.getVFunc()(0.0).group().bounds
stride(from: 0.0, to: 1.0, by: 0.2).forEach { progress in
let t = animation.easing.progressFor(time: progress)
unionBounds = unionBounds?.union(rect: contentsAnimation.getVFunc()(t).group().bounds!)
}
let animationDesc = ContentAnimationDesc(
animation: contentsAnimation,
startDate: Date(),