svg.nas use setText method
This commit is contained in:
parent
70b8d25bf4
commit
9a4b898a27
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue