mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-16 02:34:41 +01:00
fix broken rendering for math error
This commit is contained in:
@@ -240,7 +240,7 @@ const findLane = (y1, y2, _depth) => {
|
|||||||
lanes.push(candidate);
|
lanes.push(candidate);
|
||||||
return candidate;
|
return candidate;
|
||||||
}
|
}
|
||||||
const diff = math.abs(y1 - y2);
|
const diff = Math.abs(y1 - y2);
|
||||||
return findLane(y1, y2-(diff/5), depth);
|
return findLane(y1, y2-(diff/5), depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user