polysnapper icon indicating copy to clipboard operation
polysnapper copied to clipboard

Fix multiple click handlers being added

Open ConfusedCitizen opened this issue 6 years ago • 0 comments

There's an issue when enabling/disabling the PolySnapper instance where the click event remains on disable and is triggered multiple times on click.

Adding a console.log to the onChange even clearly shows that this event is triggered multiple times on each click.

ConfusedCitizen avatar May 22 '19 05:05 ConfusedCitizen