muaz-khan / Canvas-Designer

Collaborative, extendable, JavaScript Canvas2D drawing tool, supports dozens of builtin tools, as well as generates JavaScript code for 2D animations.
https://www.webrtc-experiment.com/Canvas-Designer/
MIT License
368 stars 171 forks source link

Clearing canvas not syncing between peers #71

Open mhingston opened 4 years ago

mhingston commented 4 years ago
designer.clearCanvas();
designer.sync();

Am I missing something?

DeniseWongWaiYan commented 4 years ago

I can't even get the drawings to sync, how are you doing it? designer.sync doesn't work for me.

CompoTeam commented 2 years ago
designer.clearCanvas();
designer.sync();

Am I missing something?

I wrote a function to send a message to clear the canvas it is easy and working!