prime_sliding_menu 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDhiMjJiMzRiNDBjYTRmMDVlZGVkZWUxN2JlMTVmYWUxMTUxMDBjMw==
4
+ NWM5NWNiNmMwNjdiM2YwOGNiNDRiOTgyNWU5M2FjYzRiMzQ1NDYwYw==
5
5
  data.tar.gz: !binary |-
6
- NGJiMTZhOGI1MDNkMGVlYTFiZGQ2ODc0NGRiMjk2YjAwMWQ4ODBjOA==
6
+ NjU5YjNkNTM5YjFlMTg3MmNlYjBiZjMzMjZlOTBhNGUxODRjZDg5Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzMxMzAzN2I5MzBkZWNmNWEzYWI3NGFhYTU5MDQzYjExOWE3MmMzZjNhMTRh
10
- OGRiZDZmZjY1YjhlMDFjMWYwZWE0ZjcxNzIzNzgzMjZkMGNkMzE3MThmNTUz
11
- MzM5MGM5NGRhNDFjYWEwM2FlNjYxOWExN2QzZTBlNDMzMzRmNmQ=
9
+ ZDFkYjYzMzc3OTgxMzJkM2E5ZTg4MmIwMzAzNzc1MzA0MmRjMDU0NmI5ZWEw
10
+ OGI3YWMxNjlmN2YwYjI0YmVhMDlmMmZmOTZiNDY0NjExODUwYmY4ZDczMWM1
11
+ OGRkMTM4OTA4NDk0MzU2OGU2YzEzMTY0ZjAzYmVjZDlhODM5NDg=
12
12
  data.tar.gz: !binary |-
13
- ZjBmMWU4Yjk0YjEzYzcwYWZiOGRmODQ3NDEzZTI0MzQ2OTI5ZGJkYjJkYjAy
14
- MTFhODQxMzAwNDcyNzM4NGUwMDFhZWFmZDM3NGNmYTcxM2Q0MmEwN2RkNWMy
15
- NGYyMjhlZmMxYzhhMDNjYzdkNWQ5Y2MxMTlmYWZlOWQ0MjRkMjM=
13
+ NTc4ZDg2YjA5MmFiZTE1Yjg5ZjEwOTYyZjAyOTllMmZhNDgxZDJjMGYxMDk0
14
+ ZTQzMmU1ZTAxNThmYjgwYjgxZmU4YzQzNWM3MzdjOGU1MjVmYjIyMTg3ZWRj
15
+ N2NjMTE0YjkyNTkxNWNlZTVmYjJhYWRlZjQ5ZjY5ZDc1M2Y1MjM=
@@ -43,6 +43,7 @@ module PrimeSlidingMenu
43
43
  @content_controller_ref.view.addGestureRecognizer self.panGesture
44
44
  @content_controller_ref.view.addGestureRecognizer self.resetTapGesture
45
45
  self.resetTapGesture.delegate = self
46
+ self.panGesture.delegate = self
46
47
  else
47
48
  content_controller.viewControllers = [@content_controller_ref]
48
49
  end
@@ -57,8 +58,17 @@ module PrimeSlidingMenu
57
58
  self.topViewController
58
59
  end
59
60
 
61
+
60
62
  def gestureRecognizer(gestureRecognizer, shouldReceiveTouch: touch)
61
- sidebar_visible?
63
+ if gestureRecognizer.is_a?(UITapGestureRecognizer)
64
+ sidebar_visible?
65
+ else
66
+ allow_sidebar?(touch)
67
+ end
68
+ end
69
+
70
+ def allow_sidebar?(touch)
71
+ true
62
72
  end
63
73
 
64
74
  private
@@ -1,3 +1,3 @@
1
1
  module PrimeSlidingMenu
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prime_sliding_menu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iskander Haziev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods