mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Merge pull request #20359 from mrmbernardi/fix-windows
Fix #20312: Affected windows now update properly
This commit is contained in:
@@ -665,6 +665,7 @@ private:
|
||||
y = std::max<int32_t>(y, widget->bottom);
|
||||
}
|
||||
height = y + 6;
|
||||
ResizeFrameWithPage();
|
||||
}
|
||||
|
||||
void OnResize() override
|
||||
|
||||
@@ -741,6 +741,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
ResizeFrameWithPage();
|
||||
widgets[WIDX_SCENERY_LIST].right = windowWidth - 26;
|
||||
widgets[WIDX_SCENERY_LIST].bottom = height - 14;
|
||||
|
||||
|
||||
@@ -268,6 +268,7 @@ public:
|
||||
}
|
||||
SetWidgetPressed(WIDX_STAFF_LIST_QUICK_FIRE, _quickFireMode);
|
||||
|
||||
ResizeFrameWithPage();
|
||||
widgets[WIDX_STAFF_LIST_LIST].right = width - 4;
|
||||
widgets[WIDX_STAFF_LIST_LIST].bottom = height - 15;
|
||||
widgets[WIDX_STAFF_LIST_QUICK_FIRE].left = width - 77;
|
||||
|
||||
@@ -379,6 +379,7 @@ public:
|
||||
_colour_index_2 = -1;
|
||||
}
|
||||
|
||||
ResizeFrameWithPage();
|
||||
widgets[WIDX_THEMES_LIST].right = width - 4;
|
||||
widgets[WIDX_THEMES_LIST].bottom = height - 0x0F;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user