Clear sight line before drawing after unlocking

This commit is contained in:
Catalin Constantin Mititiuc 2024-04-28 16:52:34 -07:00
parent 3e521e2f64
commit a4888a3e09

View File

@ -250,6 +250,7 @@ export function start(el) {
sourceCell = selected.parentElement;
if (isOnBoard && (!sl || sl.classList.contains('active')) && sourceCell != cell) {
clearSightLine();
drawSightLine(sourceCell, cell);
}
}