1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Demo: Tweak. Comments. Metrics: Added some Drag and Drop info.

This commit is contained in:
omar 2017-12-28 23:50:37 +01:00
parent 90ff4ae5d1
commit 4ba2e85744
2 changed files with 6 additions and 4 deletions

View file

@ -2365,6 +2365,7 @@ static void ShowExampleAppFixedOverlay(bool* p_open)
if (ImGui::MenuItem("Top-right", NULL, corner == 1)) corner = 1;
if (ImGui::MenuItem("Bottom-left", NULL, corner == 2)) corner = 2;
if (ImGui::MenuItem("Bottom-right", NULL, corner == 3)) corner = 3;
if (p_open && ImGui::MenuItem("Close")) *p_open = false;
ImGui::EndPopup();
}
ImGui::End();