diff --git a/Pulley.podspec b/Pulley.podspec index 896a67d..05b1cdf 100644 --- a/Pulley.podspec +++ b/Pulley.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'Pulley' - s.version = '1.2.1' + s.version = '1.2.2' s.summary = 'A library to imitate the iOS 10 Maps UI.' # This description is used to generate tags and improve search results. diff --git a/PulleyLib/PulleyViewController.swift b/PulleyLib/PulleyViewController.swift index f43d6c5..9206e6a 100644 --- a/PulleyLib/PulleyViewController.swift +++ b/PulleyLib/PulleyViewController.swift @@ -583,7 +583,7 @@ open class PulleyViewController: UIViewController, UIScrollViewDelegate, PulleyP { if gestureRecognizer == dimmingViewTapRecognizer { - if gestureRecognizer.state == .began + if gestureRecognizer.state == .ended { self.setDrawerPosition(position: .collapsed, animated: true) }