Fix highlight of adjacent rail/road waypoints when only one waypoint type

This commit is contained in:
Jonathan G Rennison
2023-05-26 19:38:17 +01:00
parent fd4d4d341d
commit 42b3c5fe25
2 changed files with 10 additions and 0 deletions

View File

@@ -932,6 +932,11 @@ struct BuildRailToolbarWindow : Window {
return ES_NOT_HANDLED;
}
void OnRealtimeTick(uint delta_ms) override
{
if (this->IsWidgetLowered(WID_RAT_BUILD_WAYPOINT)) CheckRedrawWaypointCoverage(this, false);
}
static HotkeyList hotkeys;
};