mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
Pass ScreenSize to window creation functions
This commit is contained in:
@@ -1631,7 +1631,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
{
|
||||
auto* windowMgr = GetWindowManager();
|
||||
return windowMgr->FocusOrCreate<EditorObjectSelectionWindow>(
|
||||
WindowClass::EditorObjectSelection, 755, 400, WF_10 | WF_RESIZABLE | WF_CENTRE_SCREEN);
|
||||
WindowClass::EditorObjectSelection, { 755, 400 }, WF_10 | WF_RESIZABLE | WF_CENTRE_SCREEN);
|
||||
}
|
||||
|
||||
// Used for forced closure
|
||||
|
||||
Reference in New Issue
Block a user