Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Better handle gestures to open/close side menu #9

Merged
merged 1 commit into from
May 2, 2015

Conversation

pointcom
Copy link
Contributor

I used the previous version of the code about gesture and just modify the accumulated distance of the gesture since the vertical touch started (gestureState.dy).

After some tests, I found out for a basic vertical swipe that the dy vary between 0 and 10 (or -10 depending on the way you move your finger) .

So I allow the absolute value of y to vary between 0 and 10.

I tried this change on listview in the main view and it seems to works even in the real IOS Device.

@Kureev
Copy link
Owner

Kureev commented May 2, 2015

Looks cool, thanks! I haven't time for making test now, but code looks correct.

Kureev pushed a commit that referenced this pull request May 2, 2015
Better handle gestures to open/close side menu
@Kureev Kureev merged commit 72e6fe2 into Kureev:master May 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants