mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-22 17:56:43 +02:00
fixed linting issue
Co-authored-by: Shahir Ahmed <ahmeds@dickinson.edu>
This commit is contained in:
@@ -80,7 +80,7 @@ function drawActorLegend(diagram) {
|
|||||||
y: yPos + 7 + index * 20,
|
y: yPos + 7 + index * 20,
|
||||||
fill: '#666',
|
fill: '#666',
|
||||||
text: line,
|
text: line,
|
||||||
textMargin: conf.boxTextMargin || 5,
|
textMargin: conf.boxTextMargin ?? 5,
|
||||||
};
|
};
|
||||||
svgDraw.drawText(diagram, labelData);
|
svgDraw.drawText(diagram, labelData);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user