Desousak/svg-pen-sketch

Issues when parent svg element has transform or scaling

Closed this issue · 0 comments

Hi!

I came across your project today and found it perfect for my current situation.

Unfortunately, I had some issues after scaling the parent element. As it seemed quite easily fixable (had to locally overwrite the _getMousePos for my current tests), I would like to provide you with a very simple fix.

Thank you in advance and keep up the good work.

Kind regards,