Demo: Remove unnecessary code added by 24bd33ac.

This commit is contained in:
omar 2020-03-02 15:49:51 +01:00
parent 24bd33ace8
commit 628614c6ea

View File

@ -288,27 +288,6 @@ void ImGui::ShowDemoWindow(bool* p_open)
// Menu Bar // Menu Bar
if (ImGui::BeginMenuBar()) if (ImGui::BeginMenuBar())
{ {
if (ImGui::BeginMenu("Foo"))
{
if (ImGui::BeginMenu("AAA"))
{
ImGui::EndMenu();
}
if (ImGui::BeginMenu("BBB"))
{
ImGui::EndMenu();
}
if (ImGui::BeginMenu("AAA"))
{
ImGui::EndMenu();
}
if (ImGui::BeginMenu("BBB"))
{
ImGui::EndMenu();
}
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Menu")) if (ImGui::BeginMenu("Menu"))
{ {
ShowExampleMenuFile(); ShowExampleMenuFile();