Skip to content

Commit

Permalink
Fix the issue that incorrect image position is occurred when the view…
Browse files Browse the repository at this point in the history
…er becomes landscape.
  • Loading branch information
0x0c committed May 14, 2021
1 parent d9475b5 commit 42bfdb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ open class ImageScrollView<T: ImageContent>: UICollectionViewCell, UIScrollViewD
else {
indicatorView.stopAnimating()
}
adjustContentAspect()
fixImageViewPosition()
adjustContentAspect()
}
get {
imageView.image
Expand Down

0 comments on commit 42bfdb6

Please sign in to comment.