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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -