1
0
Fork 0

svg.nas use setText method

This commit is contained in:
Henning Stahlke 2019-01-06 21:06:30 +01:00
parent 70b8d25bf4
commit 9a4b898a27

View file

@ -725,7 +725,7 @@ var parsesvg = func(group, path, options = nil)
id = tspan.attr['id'];
pushElement('text', id);
stack[-1].set("text", tspan.text);
stack[-1].setText(tspan.text);
if( x != 0 or y != 0 )
stack[-1].setTranslation(x, y);