From 42bfdb6c960da588af3a80ebc6822079ab55719a Mon Sep 17 00:00:00 2001 From: Akira Date: Fri, 14 May 2021 13:48:38 +0900 Subject: [PATCH] Fix the issue that incorrect image position is occurred when the viewer becomes landscape. --- .../Classes/Model/ImageScrollView/ImageScrollView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RDImageViewerController/Classes/Model/ImageScrollView/ImageScrollView.swift b/RDImageViewerController/Classes/Model/ImageScrollView/ImageScrollView.swift index 7051dce..e6044b6 100644 --- a/RDImageViewerController/Classes/Model/ImageScrollView/ImageScrollView.swift +++ b/RDImageViewerController/Classes/Model/ImageScrollView/ImageScrollView.swift @@ -72,8 +72,8 @@ open class ImageScrollView: UICollectionViewCell, UIScrollViewD else { indicatorView.stopAnimating() } - adjustContentAspect() fixImageViewPosition() + adjustContentAspect() } get { imageView.image