Added text separators to label tool window sections

This commit is contained in:
Graham Pentheny
2025-09-05 12:02:22 -04:00
parent dbb899175f
commit a7e53bf58d
2 changed files with 4 additions and 2 deletions

View File

@@ -279,6 +279,7 @@ void Sample_TileMesh::drawSettingsUI()
void Sample_TileMesh::drawToolsUI()
{
ImGui::SeparatorText("Tool Selection");
const SampleToolType currentType = !tool ? SampleToolType::NONE : tool->type();
#define TOOL(toolType, toolClass) \
if (ImGui::RadioButton( \
@@ -295,7 +296,7 @@ void Sample_TileMesh::drawToolsUI()
TOOL(CROWD, CrowdTool)
#undef TOOL
ImGui::Separator();
ImGui::SeparatorText("Tool Settings");
if (tool)
{