Hufe921 / canvas-editor

rich text editor by canvas/svg
https://hufe.club/canvas-editor-docs
MIT License
3.47k stars 506 forks source link

Implementing touch support for image resize #731

Closed douglasmatheus closed 1 month ago

douglasmatheus commented 1 month ago

What problem does this feature solve?

I implemented the touchmove, touchstart and touchend events using the mousemove and mousedown functions already in the Previewer.ts class.

https://github.com/user-attachments/assets/87c3ca7d-c51c-413c-a23e-6e66074ca68d

What does the proposed API look like?

Boss, would you like me to send a PR for this? If so, what prefix do I use, improvement?

Hufe921 commented 1 month ago

Thank you, but the core library is not currently considering mobile adaptation