Fix index error
This commit is contained in:
parent
070618db95
commit
148c6e00ca
@ -90,7 +90,7 @@ imageCanvas.addEventListener("click", function(event) {
|
|||||||
selectedCapCircle.style.display = "none";
|
selectedCapCircle.style.display = "none";
|
||||||
|
|
||||||
if (currentPosition === selectedPosition) {
|
if (currentPosition === selectedPosition) {
|
||||||
selectedPosition = -1;
|
selectedPosition = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user