mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-21 15:50:59 +00:00
Set final frame in transition
This commit is contained in:
parent
97564113c6
commit
f30f516482
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ private extension ZoomAnimator {
|
|||
else { return }
|
||||
|
||||
toVC.view.alpha = 0
|
||||
toVC.view.frame = transitionContext.finalFrame(for: toVC)
|
||||
toReferenceView.isHidden = true
|
||||
transitionContext.containerView.addSubview(toVC.view)
|
||||
|
||||
|
|
Loading…
Reference in a new issue