hunkim98 / dotting

Dotting is a pixel art editor component library for react
https://hunkim98.github.io/dotting/
MIT License
43 stars 12 forks source link

Allow real-time event listener for pixel stroke updates in interaction canvas #59

Open hunkim98 opened 1 year ago

hunkim98 commented 1 year ago

Currently there is no listener for stroke updates that happen in the interaction canvas. This listener will come in handy in a multiplayer environment where users want to track the real-time edit event happening the other person's canvas. To do this one should create a new listener for stroke updates in the interaction canvas.

This feature is necessary for the issue in collab-dotting.

Refer to: lerrybe/collab-dotting#5