fix: socket only locks to second socket, smaller node text

This commit is contained in:
parker
2025-06-24 16:25:08 +01:00
parent 8c5fe8aba7
commit df646380f2
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ void Network::mouseMoved(QMouseEvent *event)
if(floatingEdge_)
{
if(QGraphicsItem* hoverSocket = itemOfType<SocketGraphic>(hoverItems))
if(QGraphicsItem* hoverSocket = itemOfType<SocketGraphic>(hoverItems); hoverSocket && hoverSocket!=startSocket_)
{
floatingEdge_->setFloatPos(hoverSocket->scenePos());
}