Skip to content

Commit

Permalink
0,0 to robot in graph_viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasBonilla26 committed Jan 31, 2024
1 parent b2dde0d commit 8cb7d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/viewers/qscene_2d_viewer/qscene_2d_viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ void QScene2dViewer::mousePressEvent(QMouseEvent *event){
}
}
else if(event->button() == Qt::LeftButton)
emit mouse_left_click(event->position());
emit mouse_left_click(this->mapToScene(event->position().x(),event->position().y()));
}


Expand Down

0 comments on commit 8cb7d54

Please sign in to comment.