fix broken rendering for math error
This commit is contained in:
parent
243f2b28cd
commit
01970d2bbd
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue