fix(ViewGtaData): properly size window for fullscreen users (#501)

This commit is contained in:
Yimura 2022-10-22 00:06:58 +02:00 committed by GitHub
parent 3857684c93
commit a00e9e34f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,8 @@ namespace big
ImGui::OpenPopup("Game Cache");
}
ImGui::SetNextWindowSize(ImVec2(800, 0), ImGuiCond_FirstUseEver);
ImGui::SetNextWindowSize({ 800, 210 }, ImGuiCond_FirstUseEver);
ImGui::SetNextWindowPos({ 200, 200 }, ImGuiCond_FirstUseEver);
if (ImGui::BeginPopupModal("Game Cache"))
{
switch (g_gta_data_service->state())