Skip to content

port: Rework how port drag-and-drop is handled

Tom Wagner requested to merge ryuukyu/helvum-dev:port-drag-rework into main

Instead of different types for each direction to avoid linking ports of the same direction, we reject the drop early if directions of both ports are the same.

The direction check is easily extendable to also deny links between ports of different media types in the future.

Merge request reports

Loading