fixed style copy
This commit is contained in:
parent
3abb77ea77
commit
ab528be440
@ -79,6 +79,7 @@ class ExportObject(inkex.EffectExtension):
|
||||
for elem in self.svg.selected.values():
|
||||
elem_copy = deepcopy(elem)
|
||||
elem_copy.attrib['transform'] = str(elem.composed_transform())
|
||||
elem_copy.attrib['style'] = str(elem.composed_style())
|
||||
group.append(elem_copy)
|
||||
|
||||
template.attrib['viewBox'] = f'{-offset} {-offset} {bbox.width + offset * 2} {bbox.height + offset * 2}'
|
||||
|
Reference in New Issue
Block a user