From e90a2aa6a056bc383cfc28c233df1b9c7e277ebd Mon Sep 17 00:00:00 2001 From: sweiland-openrails <118388365+sweiland-openrails@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:19:44 +0200 Subject: [PATCH] When status of a switch or signal is changed color of that switch or signal is not changed to reflect the changed status (probaly when train is not moving, not tested) --- Source/RunActivity/Viewer3D/Map/MapForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/RunActivity/Viewer3D/Map/MapForm.cs b/Source/RunActivity/Viewer3D/Map/MapForm.cs index 18acdc8b0..8e452d644 100644 --- a/Source/RunActivity/Viewer3D/Map/MapForm.cs +++ b/Source/RunActivity/Viewer3D/Map/MapForm.cs @@ -1596,6 +1596,7 @@ private void setSignalMenu_ItemClicked(object sender, ToolStripItemClickedEventA break; } + mapCanvas.Invalidate(); // Triggers a re-paint UnHandleItemPick(); } @@ -1640,6 +1641,7 @@ private void setSwitchMenu_ItemClicked(object sender, ToolStripItemClickedEventA break; } } + mapCanvas.Invalidate(); // Triggers a re-paint UnHandleItemPick(); }