Skip to content

Commit

Permalink
Merge pull request #972 from sweiland-openrails/mapSwitchChangeBug
Browse files Browse the repository at this point in the history
On Map window color changed switch or signal is not changed
  • Loading branch information
sweiland-openrails authored Nov 9, 2024
2 parents 16c9120 + e90a2aa commit b9b863c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/RunActivity/Viewer3D/Map/MapForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,7 @@ private void setSignalMenu_ItemClicked(object sender, ToolStripItemClickedEventA
break;
}

mapCanvas.Invalidate(); // Triggers a re-paint
UnHandleItemPick();
}

Expand Down Expand Up @@ -1668,6 +1669,7 @@ private void setSwitchMenu_ItemClicked(object sender, ToolStripItemClickedEventA
break;
}
}
mapCanvas.Invalidate(); // Triggers a re-paint
UnHandleItemPick();
}

Expand Down

0 comments on commit b9b863c

Please sign in to comment.