mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-19 15:02:15 +01:00
Colour the depot couplers by what they connect
Each coupler on the consist strip now shows its state: free, coupled, multiple-unit, permanent, and at the back whether the end signals go up. The tooltip gives the code and the connections instead of the drag hint, and the flyout edits mark the coupler as set by hand and restyle it in place. The note about 0 on the last vehicle is gone - the colour says it.
This commit is contained in:
@@ -178,10 +178,6 @@ public sealed class VehicleDetails
|
||||
if (unitIdx < 0)
|
||||
return;
|
||||
|
||||
bool isLast = unitIdx >= _consist.Count - 1;
|
||||
if (isLast)
|
||||
couplerPanel.Children.Add(PanelNote(App.Loc["CouplingLastNote"]));
|
||||
|
||||
var d = Consist.TailCar(item);
|
||||
|
||||
// Two columns: the tab is wide enough and the list is short enough
|
||||
|
||||
Reference in New Issue
Block a user