canvas - how to not fire mouseDown and mouseUp events in click [javascript] -


i have canvas using three.js , of body.

then need write drag , drop , click events in shapes in canvas

i had found drag , drop should use mousedown , mouseup events writing click event have problem because when click in canvas events of mouse down , fired too.

is way stop them being processed?


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -