nverinaud / NVSlideMenuController

A slide menu done right for iOS.
MIT License
175 stars 33 forks source link

Remove the panGesture's requirement that the tapGesture fails. #6

Closed DavidBarry closed 11 years ago

DavidBarry commented 11 years ago

This makes the pan gesture more responsive when closing the menu. In the current state, if the menu is open there is a delay when dragging the content view to close it. This was caused by waiting for the tap gesture to fail before beginning the pan.

With this change the content view will now respond immediately when the user drags it while the menu is open. In my testing I haven't found any negative side effects, the tap gesture still works correctly and it greatly improves the perceived responsiveness of the pan gesture.

nverinaud commented 11 years ago

Merged into develop. Thanks for your contribution! :+1: