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 ecb6569 commit 48b87c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tools/builder/src/python/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,9 @@ def _on_dragover_component(self, event, component):
component.element.parentNode.classList.add(f"drop-zone-active-{self._insertion_mode}")

def _get_insertion_mode(self, event, component):
"""Get the insertion mode based on the position of the pointer on a component."""
"""
Get the insertion mode based on the position of the pointer on a component.
"""

pointer_offset_x = event.offsetX
pointer_offset_y = event.offsetY
Expand Down

0 comments on commit 48b87c1

Please sign in to comment.