Skip to content

Commit

Permalink
fix #9738
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 6, 2021
1 parent 767ac74 commit 1e6f9cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/netedit/elements/network/GNELane.cpp
Expand Up @@ -352,6 +352,10 @@ GNELane::drawArrows(const GUIVisualizationSettings& s, const bool spreadSuperpos
glTranslated(end.x(), end.y(), 0);
// rotate
glRotated(rot, 0, 0, 1);
const double width = myParentEdge->getNBEdge()->getLaneWidth(myIndex);
if (width < SUMO_const_laneWidth) {
glScaled(width / SUMO_const_laneWidth, 1, 1);
}
// get destiny node
const NBNode* dest = myParentEdge->getNBEdge()->myTo;
// draw all links iterating over connections
Expand Down

0 comments on commit 1e6f9cf

Please sign in to comment.