Hammerjs two fingers drag and rotate at the same time

I am having problems moving and rotating an object with two fingers at the same time. I set up a panorama listener and turned the listener using the recognition function. The Rotate event is fired, but there is no pan event. If I put everything in one handler, I get 0 deltaX and deltaY. If I set up a pan with 1 pointer (default) then the pan event fires fine.

Can someone please show me how to enable two fingers and rotate them at the same time?

+3


source to share





All Articles