Skip to content

Commit

Permalink
Update builder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mchilvers committed Apr 2, 2024
1 parent 1e8ce42 commit 5e2ad34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/builder/src/python/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5e2ad34

Please sign in to comment.