From 5e2ad34b8d7bc88a2b91bf5b85ef4b591e1d8da0 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 2 Apr 2024 14:28:57 -0500 Subject: [PATCH] Update builder.py --- src/tools/builder/src/python/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/builder/src/python/builder.py b/src/tools/builder/src/python/builder.py index 69a8170..c698574 100644 --- a/src/tools/builder/src/python/builder.py +++ b/src/tools/builder/src/python/builder.py @@ -548,7 +548,7 @@ def _on_drop_component(self, event, component): self.append_component(container.id, new_component) else: - if self._insertion_mode in ["left", "above"]: + if self._insertion_mode in ["left-of", "above"]: insert_before = component.content[0] if isinstance(component, Container) else component self.insert_component_before(insert_before, new_component) else: