drumjs
drumjs copied to clipboard
Not working with hammerjs 2.0.4
It doesn't work with hammer js 2.0.4 and it shows as frozen wheel.
Hammer 2.0 uses swipeup/swipedown/panup/pandown event instead of drag events, this can be easily fixed by adding the following code in after Hammer declaration in line 290:
settings.touch.on("panup pandown swipeup swipedown", function(e){
settings.rotation += Math.round(0 - e.deltaY);
transform(true);
});
http://codepen.io/tangent/pen/raWprr