summaryrefslogtreecommitdiff
path: root/lib/stitches
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-03-08 19:59:28 -0500
committerLex Neva <github.com@lexneva.name>2019-03-08 19:59:28 -0500
commita14ed903cf6043e4138d7d3d59a5cac9750cb191 (patch)
tree5a1d91a3db15a157a0f7f14415e11d445f82d4a7 /lib/stitches
parent602f201cb6236a7cb4a041b84e761aaedc358ab0 (diff)
auto satin should trim at the end too
Diffstat (limited to 'lib/stitches')
-rw-r--r--lib/stitches/auto_satin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py
index aea26427..7c09b023 100644
--- a/lib/stitches/auto_satin.py
+++ b/lib/stitches/auto_satin.py
@@ -728,4 +728,8 @@ def add_trims(elements, trim_indices):
new_elements.append(element)
+ # trim at the end, too
+ if i not in trim_indices:
+ add_commands(element, ["trim"])
+
return new_elements