ericdrowell / KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://www.kineticjs.com
3.98k stars 752 forks source link

How to prevent "draggable" from call draw() itself on drag event? #977

Open songoo opened 10 years ago

songoo commented 10 years ago

I have own fps cycle to keep redrawing canvas. When i start draging dragable object it calls draw() itself and intefere with my default redraw cycle causing performance problems.

Is it possible to prevent dragable object of calling draw() on drag event ?

songoo commented 10 years ago

Well, we throwed out kinetic "dragable" from all objects and programed our own dragging manually so it does not cal draw functions at own will causing performance problems ....