mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +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,
|
||||
fill: '#666',
|
||||
text: line,
|
||||
textMargin: conf.boxTextMargin || 5,
|
||||
textMargin: conf.boxTextMargin ?? 5,
|
||||
};
|
||||
svgDraw.drawText(diagram, labelData);
|
||||
});
|
||||
|
Reference in New Issue
Block a user