mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 07:49:43 +02:00
remove redundant test
Co-authored-by: pranavm2109 <mishrap@dickinson.edu>
This commit is contained in:
@@ -22,10 +22,6 @@ function drawActorLegend(diagram) {
|
|||||||
maxWidth = 0;
|
maxWidth = 0;
|
||||||
let yPos = 60;
|
let yPos = 60;
|
||||||
|
|
||||||
if (isNaN(maxLabelWidth)) {
|
|
||||||
throw new Error('maxLabelWidth must be a number');
|
|
||||||
}
|
|
||||||
|
|
||||||
Object.keys(actors).forEach((person) => {
|
Object.keys(actors).forEach((person) => {
|
||||||
const colour = actors[person].color;
|
const colour = actors[person].color;
|
||||||
const circleData = {
|
const circleData = {
|
||||||
|
Reference in New Issue
Block a user