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! #203

Closed bytesnz closed 8 years ago

bytesnz commented 8 years ago

Got panning working for middle click, click + shift, 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

Redid to use inbuilt paper.js panning (https://github.com/theelectricwiz/draw/commit/0c319d000c731a7d6c7c59090f65fe30765d3227). Working on scaling as well. Will create a pull request when complete.

theoryshaw commented 8 years ago

+1