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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user