fix(UserWindow): Disable rounding on static window

This commit is contained in:
Yimura 2022-02-21 23:22:37 +01:00
parent b5b7b0e1cf
commit ff0dcd7723

View File

@ -11,6 +11,7 @@ namespace big
ImGui::SetNextWindowSize({ width, (float)g.window.y - height_correction }, ImGuiCond_Always);
ImGui::SetNextWindowPos({ g.window.x - width, height_correction }, ImGuiCond_Always);
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 0.f);
if (g.window.users && ImGui::Begin("###player_menu", NULL, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoNav))
{
ImGui::Text("Friends:");
@ -39,5 +40,6 @@ namespace big
ImGui::End();
}
ImGui::PopStyleVar();
}
}