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

Expose `mouseDown` `mouseUp` `mouseMove` for users to manipulate #81

Closed hunkim98 closed 1 year ago

hunkim98 commented 1 year ago

I am currently creating an iPad app using dotting. I found that there is a need to overlay the webview with a native view for Apple Pencil touch events. To do that, I must have to call mouseDown mouseUp mouseMove manually through events.

I show you my current progress

https://github.com/hunkim98/dotting/assets/57612141/375fbc71-98b0-4ca8-ade8-c11c911eea61

As you can see, there is a need to distinguish Apple pencil touch and finger touch. This is why I need to expose the mouseDown mouseUp mouseMove functions