Updated ImGui.

This commit is contained in:
Бранимир Караџић
2020-01-29 20:09:47 -08:00
parent ac9c330100
commit 87eac9ed06
4 changed files with 129 additions and 91 deletions

View File

@@ -4685,7 +4685,8 @@ void ShowExampleAppDocuments(bool* p_open)
static bool opt_reorderable = true;
static ImGuiTabBarFlags opt_fitting_flags = ImGuiTabBarFlags_FittingPolicyDefault_;
if (!ImGui::Begin("Example: Documents", p_open, ImGuiWindowFlags_MenuBar))
bool window_contents_visible = ImGui::Begin("Example: Documents", p_open, ImGuiWindowFlags_MenuBar);
if (!window_contents_visible)
{
ImGui::End();
return;