JohnMcLear / draw

A real time collaborative drawing tool using nodejs, socket.io & paper.js
Apache License 2.0
482 stars 158 forks source link

Toggling Color Picker of doom #197

Closed bytesnz closed 8 years ago

bytesnz commented 8 years ago

When you touch(event) the canvas, the color picker starts toggling and it can't be stopped. It is due to the mouseHeld interval in onMouseDown() (src/static/js/draw.js) not clearing.

bytesnz commented 8 years ago

Realised that multi-finger touch events were creating multiple intervals leading to the same problem. Fixed in upcoming pull request.

bytesnz commented 8 years ago

Fixed in 9326e2f (currently in develop branch)