Added linebreak to allow for commit (fixing eslint issue)

This commit is contained in:
Justin Greywolf 2024-12-06 12:58:19 -08:00
parent 801bdea300
commit 3e57d35aee

View File

@ -107,6 +107,7 @@ async function addText<T extends SVGGraphicsElement>(
'useHtmlLabels' in node ? node.useHtmlLabels : (evaluate(config.htmlLabels) ?? true);
let textContent = '';
// Support regular node type (.label) and classNodes (.text)
if ('text' in node) {
textContent = node.text ?? '';