Fix 25f1c97bea: Incorrect background colour in badge configuration list. (#14850)

Provide correct widget colour instead of assuming COLOUR_GREY.
This commit is contained in:
Peter Nelson
2025-12-03 14:38:20 +00:00
committed by GitHub
parent 7e046f112b
commit bd338d6e42
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1617,7 +1617,7 @@ struct BuildVehicleWindow : Window {
DropDownList BuildBadgeConfigurationList() const
{
static const auto separators = {STR_BADGE_CONFIG_PREVIEW, STR_BADGE_CONFIG_NAME};
return BuildBadgeClassConfigurationList(this->badge_classes, BADGE_COLUMNS, separators);
return BuildBadgeClassConfigurationList(this->badge_classes, BADGE_COLUMNS, separators, COLOUR_GREY);
}
void BuildVehicle()