zenozeng/p5.js-svg

mouseClicked does not seems to work

Sladix opened this issue · 2 comments

Here is a sketch to reproduce the issue : https://editor.p5js.org/sladix/sketches/IJ8NfG8zP

It seems that the event is attached to the div "Pane vertical Pane2", this is the div that englobes the whole preview panel (beyond the gray area). When you click in this region the mouseClicked is trigged.
I think this explanation is a bit confusing, but i hope this could help. I couldn't do better. :(

@Sladix Thanks for reporting this bug, it should be fixed with p5.js-svg@1.3.1.