fix: edge bounds

This commit is contained in:
parker
2025-06-21 02:10:52 +01:00
parent f92f13a69d
commit dcc5c25a2d
3 changed files with 10 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ NodeEdgeGraphic::NodeEdgeGraphic(SocketGraphic* socket1, SocketGraphic* socket2,
QRectF NodeEdgeGraphic::boundingRect() const
{
auto boundRect = QRect(10,10,10,10);
auto boundRect = QRectF(socket1_->scenePos(), socket2_->scenePos());
return boundRect;
}