summaryrefslogtreecommitdiff
path: root/lib/marker.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-03-02 20:54:56 +0100
committerGitHub <noreply@github.com>2025-03-02 20:54:56 +0100
commitdc23265d2d2619ef6cb1c701480fc4ba10fafc77 (patch)
treecd3f13c3f1b1dcc06704136cea9b9a00a7b70656 /lib/marker.py
parent70d2ea52c412eb983a6d6037f1bb0ec1258196c1 (diff)
Use symbol as command position (#3542)
Diffstat (limited to 'lib/marker.py')
-rw-r--r--lib/marker.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/marker.py b/lib/marker.py
index ac19fe74..9765fbfb 100644
--- a/lib/marker.py
+++ b/lib/marker.py
@@ -18,7 +18,9 @@ MARKER = ['anchor-line', 'pattern', 'guide-line']
def ensure_marker(svg, marker):
marker_path = ".//*[@id='inkstitch-%s-marker']" % marker
if svg.defs.find(marker_path) is None:
- svg.defs.append(deepcopy(_marker_svg().defs.find(marker_path)))
+ marker = deepcopy(_marker_svg().defs.find(marker_path))
+ marker.set('markerWidth', str(0.1))
+ svg.defs.append(marker)
@cache