1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Pass ScreenSize to makeWindowShim()

This commit is contained in:
Gymnasiast
2025-06-10 22:27:50 +02:00
parent bdba89f428
commit 81e3181ebb
63 changed files with 71 additions and 71 deletions

View File

@@ -218,7 +218,7 @@ namespace OpenRCT2::Ui::Windows
// clang-format off
static constexpr auto _window_editor_object_selection_widgets = makeWidgets(
makeWindowShim (WINDOW_TITLE, WW, WH),
makeWindowShim (WINDOW_TITLE, { WW, WH }),
makeWidget ({ 0, 43}, {WW, 357}, WidgetType::resize, WindowColour::secondary ),
makeWidget ({ 4, 60}, {288, 277}, WidgetType::scroll, WindowColour::secondary, SCROLL_VERTICAL ),
makeWidget ({391, 45}, {114, 114}, WidgetType::flatBtn, WindowColour::secondary ),