Fix index error

This commit is contained in:
Christoph Hagen 2022-12-16 21:26:03 +01:00
parent 070618db95
commit 148c6e00ca

View File

@ -90,7 +90,7 @@ imageCanvas.addEventListener("click", function(event) {
selectedCapCircle.style.display = "none";
if (currentPosition === selectedPosition) {
selectedPosition = -1;
selectedPosition = null;
return;
}