diff --git a/SKPhotoBrowser/SKZoomingScrollView.swift b/SKPhotoBrowser/SKZoomingScrollView.swift index a13c314..7b625f1 100644 --- a/SKPhotoBrowser/SKZoomingScrollView.swift +++ b/SKPhotoBrowser/SKZoomingScrollView.swift @@ -308,7 +308,7 @@ public class SKZoomingScrollView: UIScrollView, UIScrollViewDelegate, SKDetectin // MARK: - SKDetectingImageViewDelegate func handleImageViewSingleTap(touchPoint: CGPoint) { if photoBrowser!.enableSingleTapDismiss { - photoBrowser?.performCloseAnimationWithScrollView(self) + photoBrowser?.determineAndClose() } else { photoBrowser?.toggleControls() }