Answer the question
In order to leave comments, you need to log in
How to catch a bug?
When implementing one project on the canvas, a bug was noticed that is hard to catch. There is a Point object that has a certain set of properties and is drawn on the canvas. When you click on an object, a certain function must be called. In the project, this is implemented as follows:
point.on('click', function () {
someFunction();
point.off('click').on('click', function () {
someFunction();
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question