Skip to content

Commit

Permalink
fix (mvTreeNode): indent bleeding #1604 (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt authored Feb 16, 2022
1 parent 953e1fb commit c623a73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DearPyGui/src/ui/AppItems/containers/mvTreeNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ void mvTreeNode::draw(ImDrawList* drawlist, float x, float y)
if (!*_value)
{
ImGui::EndGroup();
if (config.indent > 0.0f)
ImGui::Unindent(config.indent);
return;
}

Expand Down

0 comments on commit c623a73

Please sign in to comment.