Clear sight line before drawing after unlocking
This commit is contained in:
parent
0da0c51a45
commit
7455dd0173
@ -250,6 +250,7 @@ export function start(el) {
|
||||
sourceCell = selected.parentElement;
|
||||
|
||||
if (isOnBoard && (!sl || sl.classList.contains('active')) && sourceCell != cell) {
|
||||
clearSightLine();
|
||||
drawSightLine(sourceCell, cell);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user