parent
5cf33289ea
commit
493cab35f3
|
@ -106,6 +106,8 @@ class LargeImageViewController: UIViewController, UIScrollViewDelegate {
|
||||||
scrollView.zoomScale = minScale
|
scrollView.zoomScale = minScale
|
||||||
scrollView.maximumZoomScale = minScale >= 1 ? minScale + 2 : 2
|
scrollView.maximumZoomScale = minScale >= 1 ? minScale + 2 : 2
|
||||||
|
|
||||||
|
centerImage()
|
||||||
|
|
||||||
if !initializedTopControlsConstrains {
|
if !initializedTopControlsConstrains {
|
||||||
initializedTopControlsConstrains = true
|
initializedTopControlsConstrains = true
|
||||||
if view.safeAreaInsets.top == 44 {
|
if view.safeAreaInsets.top == 44 {
|
||||||
|
|
Loading…
Reference in New Issue