Remove obsolete code

This commit is contained in:
Maurice Parker 2019-10-15 20:13:08 -05:00
parent d16cc88577
commit 42bccc2fea
2 changed files with 1 additions and 2 deletions

View File

@ -43,7 +43,7 @@ open class ImageScrollView: UIScrollView {
var maxScaleFromMinScale: CGFloat = 3.0
var zoomedFrame: CGRect {
return convert(zoomView?.frame ?? CGRect.zero, to: nil)
return zoomView?.frame ?? CGRect.zero
}
override open var frame: CGRect {

View File

@ -54,7 +54,6 @@ class ImageTransition: NSObject, UIViewControllerAnimatedTransitioning {
imageView.removeFromSuperview()
let toView = transitionContext.view(forKey: .to)!
transitionContext.containerView.addSubview(toView)
transitionContext.containerView.bringSubviewToFront(toView)
transitionContext.completeTransition(true)
})