mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Pass ScreenSize to window creation functions
This commit is contained in:
@@ -142,7 +142,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
auto errorWindow = std::make_unique<ErrorWindow>(std::move(buffer), numLines, autoClose);
|
||||
|
||||
return windowMgr->Create(
|
||||
std::move(errorWindow), WindowClass::Error, windowPosition, width, height,
|
||||
std::move(errorWindow), WindowClass::Error, windowPosition, { width, height },
|
||||
WF_STICK_TO_FRONT | WF_TRANSPARENT | WF_NO_TITLE_BAR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user