fix(Windows): Handling and main will have a propper default size

This commit is contained in:
Yimura 2021-02-02 16:49:32 +01:00
parent cfed7b703f
commit 8fb8c1e505
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ namespace big
{
void window::render_handling_window()
{
ImGui::SetNextWindowSize({ 500, 780 }, ImGuiCond_FirstUseEver);
if (g_handling_window && ImGui::Begin("Handling", &g_handling_window))
{
if (g_in_vehicle && g_vehicle != nullptr)

View File

@ -5,6 +5,7 @@ namespace big
{
void window::render_main_window()
{
ImGui::SetNextWindowSize({ 800, 840 }, ImGuiCond_FirstUseEver);
if (ImGui::Begin("Yimura's Mod Menu"))
{
ImGui::BeginTabBar("tabbar");