mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
parent
32cea85331
commit
6fb7d44255
3 changed files with 5 additions and 3 deletions
|
|
@ -743,6 +743,7 @@ static void ShowDemoWindowMenuBar(ImGuiDemoWindowData* demo_data)
|
|||
#else
|
||||
const bool has_debug_tools = false;
|
||||
#endif
|
||||
ImGui::MenuItem("Metrics/Debugger", NULL, &demo_data->ShowMetrics, has_debug_tools);
|
||||
if (ImGui::BeginMenu("Debug Options"))
|
||||
{
|
||||
ImGui::BeginDisabled(!has_debug_tools);
|
||||
|
|
@ -752,8 +753,6 @@ static void ShowDemoWindowMenuBar(ImGuiDemoWindowData* demo_data)
|
|||
ImGui::TextDisabled("(see Demo->Configuration for details & more)");
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
ImGui::MenuItem("Metrics/Debugger", NULL, &demo_data->ShowMetrics, has_debug_tools);
|
||||
ImGui::MenuItem("Debug Log", NULL, &demo_data->ShowDebugLog, has_debug_tools);
|
||||
ImGui::MenuItem("ID Stack Tool", NULL, &demo_data->ShowIDStackTool, has_debug_tools);
|
||||
bool is_debugger_present = io.ConfigDebugIsDebuggerPresent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue