Skip to content

Commit 42bfdb6

Browse files
committed
Fix the issue that incorrect image position is occurred when the viewer becomes landscape.
1 parent d9475b5 commit 42bfdb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RDImageViewerController/Classes/Model/ImageScrollView/ImageScrollView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ open class ImageScrollView<T: ImageContent>: UICollectionViewCell, UIScrollViewD
7272
else {
7373
indicatorView.stopAnimating()
7474
}
75-
adjustContentAspect()
7675
fixImageViewPosition()
76+
adjustContentAspect()
7777
}
7878
get {
7979
imageView.image

0 commit comments

Comments
 (0)