Skip to content

Commit

Permalink
Fix issue where tapping in the dimmed area doesn't dismiss the scroll…
Browse files Browse the repository at this point in the history
…view.
  • Loading branch information
amyleecodes committed Sep 28, 2016
1 parent 0dd46c9 commit fcde8aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pulley.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion PulleyLib/PulleyViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit fcde8aa

Please sign in to comment.