code documentation

master
km0 3 years ago
parent 6e9c5c343a
commit 060133ce77

@ -21,6 +21,7 @@ let showEditor = false;
// Store the coordinates and trigger the function
container.addEventListener("mousedown", (e) => {
// Avoid inserting a new label if the user is clicking on a close button)
if (e.target.tagName !== "BUTTON") {
startX = e.x;
startY = e.y;

Loading…
Cancel
Save