This commit is contained in:
Mario Voigt 2023-08-19 17:40:00 +02:00
parent 1d4624fcff
commit ef51a90dda

View File

@ -239,7 +239,7 @@ class LinksCreator(inkex.EffectExtension):
for sub in element.path.to_superpath(): for sub in element.path.to_superpath():
idash = 0 idash = 0
dash = dashes[0] dash = dashes[0]
length = float(stroke_dashoffset) length = abs(float(stroke_dashoffset))
while dash < length: while dash < length:
length = length - dash length = length - dash
idash = (idash + 1) % len(dashes) idash = (idash + 1) % len(dashes)