Closed numen31337 closed 8 years ago
So this is my first time on github, but I modified the koloda files to include a .Up and .Down direction. You can customize what x and y numbers constitute a .Up or .Down (or .Left or .Right direction for that matter). Please let me know if you want them/how I can share them with you.
@johncederholm You might find this article helpful, scroll down to where it says "Pull Request"
I have implemented this over the past couple of days. It's here https://github.com/felix-dumit/Koloda/tree/multiple-direction-support
I will add some more comments and then make a PR soon
@felix-dumit Exciting!
Thanks @blerchy , but it seems I have been beaten to the punch...
@felix-dumit Awesome stuff! When can you make the PR?
Current implementation allow you to swipe only left/right. For some applications would be helpful to define kinda bit-mask with all directions you are interested in. For example in Tinted app I might be interested to swipe down to instantly start chat or whatever.