change to determineAndClose

This commit is contained in:
ghysrc 2016-05-13 16:07:53 +08:00
parent 6b64f75c8d
commit ba03773f3e
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}