Smooth note drag
krasnoludkolo opened this issue · comments
Danek commented
Hello!
I'm trying to build simple note editor using abcjs.
So far when I'm dragging notes up and down, the movement is "shaky" and not smooth.
Is there anything I can do to avoid this?
Paul Rosen commented
I'm not sure exactly what you're doing so I can't tell. If you have a public URL that demonstrates the problem I might be able to see. But in general, if you are doing lots of processing in the foreground then the browser might not update fast enough. Also, are you doing the animation with requestAnimationFrame()
? If you are doing the processing inside mousemove
you might be overwhelming it.