gui: get rid of content winodw border

This commit is contained in:
Flyinghead 2021-01-03 21:26:56 +01:00
parent 767445e05c
commit 0fd9912f02
1 changed files with 2 additions and 0 deletions

View File

@ -1617,6 +1617,7 @@ static void gui_display_content()
ImGui::SetNextWindowPos(ImVec2(0, 0));
ImGui::SetNextWindowSize(ImVec2(screen_width, screen_height));
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 0);
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0);
ImGui::Begin("##main", NULL, ImGuiWindowFlags_NoDecoration);
@ -1693,6 +1694,7 @@ static void gui_display_content()
}
ImGui::EndChild();
ImGui::End();
ImGui::PopStyleVar();
ImGui::PopStyleVar();
error_popup();