Skip to content

Commit

Permalink
Demo: changed style editor inline block to its own window.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Jul 2, 2024
1 parent ae708e3 commit 0250dc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imgui_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,9 @@ void ImGui::ShowDemoWindow(bool* p_open)
IMGUI_DEMO_MARKER("Configuration/Style");
if (ImGui::TreeNode("Style"))
{
ImGui::Checkbox("Style Editor", &show_tool_style_editor);
ImGui::SameLine();
HelpMarker("The same contents can be accessed in 'Tools->Style Editor' or by calling the ShowStyleEditor() function.");
ImGui::ShowStyleEditor();
ImGui::TreePop();
ImGui::Spacing();
}
Expand Down

0 comments on commit 0250dc9

Please sign in to comment.