#1995 Adding polygons

This commit is contained in:
Knut Sveidqvist 2021-03-23 21:48:49 +01:00
parent 4339fadd50
commit 30dfbbbd68
1 changed files with 3 additions and 0 deletions

View File

@ -313,6 +313,9 @@ const render = function(id, _txt, cb, container) {
userStyles += `\n.${className} rect { ${classes[className].styles.join(
' !important; '
)} !important; }`;
userStyles += `\n.${className} polygon { ${classes[className].styles.join(
' !important; '
)} !important; }`;
if (classes[className].textStyles) {
userStyles += `\n.${className} tspan { ${classes[className].textStyles.join(
' !important; '