From 40405edfe1ab9735e33fd705b090dc467983611f Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 22 Mar 2025 17:43:50 +0100 Subject: parent.remove -> delete (#3600) --- lib/stitches/auto_satin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stitches/auto_satin.py') diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py index 1495891e..cca65d1b 100644 --- a/lib/stitches/auto_satin.py +++ b/lib/stitches/auto_satin.py @@ -624,7 +624,7 @@ def add_trims(elements, trim_indices): just_trimmed = False for i, element in enumerate(elements): if just_trimmed and isinstance(element, Stroke): - element.node.getparent().remove(element.node) + element.node.delete() continue if i in trim_indices: -- cgit v1.2.3