Force the frame to center when displaying. Issue #1983

This commit is contained in:
Maurice Parker 2020-04-11 15:58:48 -05:00
parent 02f62bbb61
commit 7c266d65ee
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ open class ImageScrollView: UIScrollView {
zoomView!.addGestureRecognizer(upSwipeGesture)
configureImageForSize(image.size)
adjustFrameToCenter()
}
private func configureImageForSize(_ size: CGSize) {