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:
parent
7d30237600
commit
817caf8aa1
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user