JohnMcLear / draw

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

Canvas Panning! #202

Closed bytesnz closed 8 years ago

bytesnz commented 8 years ago

Got panning working for middle click and 2 finger gestures. There is a little bug where it is possible that artifacts are drawn at the start/end of the 2 finger gesture. Not sure best how to fix this though...

bytesnz commented 8 years ago

Have just noticed a bug (Firefox 38.4 on Linux) where the mouse drag events don't have the correct button in them, so you can't pan in firefox. Will investigate.

bytesnz commented 8 years ago

Will close and redo as have added shift+click panning

JohnMcLear commented 8 years ago

be mindful of tablet etc. users who don't have shift.

bytesnz commented 8 years ago

Indeed. They can still use the two finger gesture.