basilio / responsiveCarousel

Simple carousel
MIT License
113 stars 64 forks source link

Mobile swipe event fixed #15

Closed Dahlgren closed 10 years ago

Dahlgren commented 10 years ago

Copy value to start/end since targetTouches object will be updated during the touch event. If the reference is kept the startCoords will end up with the same values as endCoords. swipeDistance always resolved to zero.

basilio commented 10 years ago

Thanks a lot @Dahlgren! Sorry for not replying earlier, i left the project aside for my work, but I'm trying to regain the support. thank you very much for your help! Cheers