fix broken rendering for math error

This commit is contained in:
Ashish Jain 2022-03-17 19:05:19 +01:00
parent 243f2b28cd
commit 01970d2bbd
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ const findLane = (y1, y2, _depth) => {
lanes.push(candidate);
return candidate;
}
const diff = math.abs(y1 - y2);
const diff = Math.abs(y1 - y2);
return findLane(y1, y2-(diff/5), depth);
}