diff options
Diffstat (limited to 'lib/extensions')
| -rw-r--r-- | lib/extensions/commands_scale_symbols.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/extensions/commands_scale_symbols.py b/lib/extensions/commands_scale_symbols.py index 2e025000..4fa272e3 100644 --- a/lib/extensions/commands_scale_symbols.py +++ b/lib/extensions/commands_scale_symbols.py @@ -21,3 +21,8 @@ class CommandsScaleSymbols(InkstitchExtension): for symbol in command_symbols: transform = Transform(symbol.get('transform')).add_scale(size) symbol.set('transform', str(transform)) + + markers = svg.xpath(".//svg:marker[starts-with(@id, 'inkstitch')]", namespaces=NSS) + for marker in markers: + marker_size = float(marker.get('markerWidth', 0.5)) * size + marker.set('markerWidth', marker_size) |
