mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
fix broken rendering for math error
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user