Skip to content

Commit

Permalink
Fixed #14397
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Mar 2, 2024
1 parent bbb4dce commit 1a2a810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netedit/elements/network/GNELane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ GNELane::drawTLSLinkNo(const GUIVisualizationSettings& s) const {
// calculate x1
double x1 = myParentEdge->getNBEdge()->getLaneWidth(myIndex) / 2;
// iterate over links
for (int i = noLinks; i >= 0; --i) {
for (int i = noLinks - 1; i >= 0; --i) {
// calculate x2
const double x2 = x1 - (double)(w / 2.);
// get link number
Expand Down

0 comments on commit 1a2a810

Please sign in to comment.