1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 09:52:44 +01:00

Codefix: NWidgetStacked::AdjustPaddingForZoom duplicates inherited method. (#13135)

This commit is contained in:
Peter Nelson
2024-11-30 23:15:17 +00:00
committed by GitHub
parent 568bb1f5da
commit 30bda88e97
2 changed files with 0 additions and 9 deletions

View File

@@ -1237,14 +1237,6 @@ NWidgetStacked::NWidgetStacked(WidgetID index) : NWidgetContainer(NWID_SELECTION
{
}
void NWidgetStacked::AdjustPaddingForZoom()
{
for (const auto &child_wid : this->children) {
child_wid->AdjustPaddingForZoom();
}
NWidgetContainer::AdjustPaddingForZoom();
}
void NWidgetStacked::SetupSmallestSize(Window *w)
{
/* Zero size plane selected */