mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-22 15:20:00 +01:00
Remove obsolete code
This commit is contained in:
parent
d16cc88577
commit
42bccc2fea
@ -43,7 +43,7 @@ open class ImageScrollView: UIScrollView {
|
|||||||
var maxScaleFromMinScale: CGFloat = 3.0
|
var maxScaleFromMinScale: CGFloat = 3.0
|
||||||
|
|
||||||
var zoomedFrame: CGRect {
|
var zoomedFrame: CGRect {
|
||||||
return convert(zoomView?.frame ?? CGRect.zero, to: nil)
|
return zoomView?.frame ?? CGRect.zero
|
||||||
}
|
}
|
||||||
|
|
||||||
override open var frame: CGRect {
|
override open var frame: CGRect {
|
||||||
|
@ -54,7 +54,6 @@ class ImageTransition: NSObject, UIViewControllerAnimatedTransitioning {
|
|||||||
imageView.removeFromSuperview()
|
imageView.removeFromSuperview()
|
||||||
let toView = transitionContext.view(forKey: .to)!
|
let toView = transitionContext.view(forKey: .to)!
|
||||||
transitionContext.containerView.addSubview(toView)
|
transitionContext.containerView.addSubview(toView)
|
||||||
transitionContext.containerView.bringSubviewToFront(toView)
|
|
||||||
transitionContext.completeTransition(true)
|
transitionContext.completeTransition(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user