Demo: Fixed incorrect response to Begin() returning false in overlay demo (which cannot happen since we don't have a title bar, but that doesn't make it a good behaving demo!).

This commit is contained in:
omar
2018-06-25 09:32:55 +02:00
parent 20e89201cb
commit fb0106fad2
2 changed files with 5 additions and 3 deletions

View File

@ -2608,8 +2608,8 @@ static void ShowExampleAppSimpleOverlay(bool* p_open)
if (p_open && ImGui::MenuItem("Close")) *p_open = false;
ImGui::EndPopup();
}
ImGui::End();
}
ImGui::End();
}
// Demonstrate using "##" and "###" in identifiers to manipulate ID generation.