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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -