mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-06 15:18:25 +01:00
Remove obsolete code
This commit is contained in:
parent
d16cc88577
commit
42bccc2fea
iOS/Article
@ -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 {
|
||||
|
@ -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)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user