Add: Ability to toggle visibility of station signs by facility. (#13207)

This commit is contained in:
Peter Nelson
2025-01-14 21:23:35 +00:00
committed by GitHub
parent 74bd064d10
commit 4c8f1b0f81
9 changed files with 69 additions and 5 deletions
+2 -2
View File
@@ -47,9 +47,9 @@ std::unique_ptr<DropDownListItem> MakeDropDownListIconItem(const Dimension &dim,
return std::make_unique<DropDownListIconItem>(dim, sprite, palette, str, value, masked, shaded);
}
std::unique_ptr<DropDownListItem> MakeDropDownListCheckedItem(bool checked, StringID str, int value, bool masked, bool shaded)
std::unique_ptr<DropDownListItem> MakeDropDownListCheckedItem(bool checked, StringID str, int value, bool masked, bool shaded, uint indent)
{
return std::make_unique<DropDownListCheckedItem>(checked, str, value, masked, shaded);
return std::make_unique<DropDownListCheckedItem>(indent, checked, str, value, masked, shaded);
}
static constexpr NWidgetPart _nested_dropdown_menu_widgets[] = {