Autoscale and click event
Closed this issue · 3 comments
nikpundik commented
The AutoScale wrapper is adding a transform scale (< 1.0) if the stage doesn't fit in the container, leading a wrong onClick cell detection (because the provided scale value should take in account also the AutoScale transformation).
jozanza commented
Alright — the first issue! :D
Good find @nikpundik. I noticed you forked the repo. Do you plan on submitting a PR to fix this issue, or shall I take a look?
nikpundik commented
Ok, I think I found a solution, I'm submitting a PR
jozanza commented
Your fix looks good to me! I’ll merge and deploy an update later today. Thanks @nikpundik 👌🎉