Skip to content

Commit 0250dc9

Browse files
committed
Demo: changed style editor inline block to its own window.
1 parent ae708e3 commit 0250dc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imgui_demo.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,9 @@ void ImGui::ShowDemoWindow(bool* p_open)
540540
IMGUI_DEMO_MARKER("Configuration/Style");
541541
if (ImGui::TreeNode("Style"))
542542
{
543+
ImGui::Checkbox("Style Editor", &show_tool_style_editor);
544+
ImGui::SameLine();
543545
HelpMarker("The same contents can be accessed in 'Tools->Style Editor' or by calling the ShowStyleEditor() function.");
544-
ImGui::ShowStyleEditor();
545546
ImGui::TreePop();
546547
ImGui::Spacing();
547548
}

0 commit comments

Comments
 (0)