change to determineAndClose
This commit is contained in:
parent
6b64f75c8d
commit
ba03773f3e
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue