fix unit in netting

This commit is contained in:
Mario Voigt 2021-10-16 10:50:11 +02:00
parent 1558e2eec2
commit d3d4f59fe8

View File

@ -38,7 +38,7 @@ class Netting(inkex.EffectExtension):
def effect(self):
#static
style = {'stroke-width': str(self.options.stroke_width) +'px', 'stroke': '#000000', 'fill': 'none'}
style = {'stroke-width': "{:0.6f}".format(self.svg.unittouu(str(self.options.stroke_width) + "px")), 'stroke': '#000000', 'fill': 'none'}
old_segments = []
new_segments = []