summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-08-05 21:36:44 +0200
committerGitHub <noreply@github.com>2021-08-05 21:36:44 +0200
commitd6e20fae8a03ac162ae0c863fff06b5bd8b77902 (patch)
treed3a550553516b26efb972d132f7251f6e6c6e683 /lib/extensions
parent28ecf18add77b867f4e75a104525b163211e644d (diff)
fix element selection (#1305)
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/extensions/base.py b/lib/extensions/base.py
index dc71d922..057a0e63 100644
--- a/lib/extensions/base.py
+++ b/lib/extensions/base.py
@@ -137,8 +137,7 @@ class InkstitchExtension(inkex.Effect):
if len(list(layer_commands(node, "ignore_layer"))):
return []
- if (node.tag in [EMBROIDERABLE_TAGS, SVG_GROUP_TAG] and
- element.get_style('display', 'inline') is None):
+ if (node.tag in EMBROIDERABLE_TAGS or node.tag == SVG_GROUP_TAG) and element.get_style('display', 'inline') is None:
return []
if node.tag == SVG_DEFS_TAG: