Skip to content

Commit 17be4d5

Browse files
committed
Minor cleanup supplemental to fix for issue #94.
1 parent 199577e commit 17be4d5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

exe/gui/src/GuiTreeview.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,6 @@ bool GuiTree::DrawBranch(GuiTreeNode& node, GuiState& state, TreeItem*& jump_ite
629629
if (node.GetState() < NotificationCode::NC2_MetaReady)
630630
return true;
631631

632-
//float item_rect_parent = ImGui::GetItemRectMax().y;
633-
634632
ImVec2 vertical_line_start, vertical_line_end;
635633
float vertical_line_mid = (parent_node_rect.Min.x + parent_node_rect.Max.x) / 2.0f;
636634
vertical_line_start = ImVec2(vertical_line_mid, parent_node_rect.Max.y);
@@ -643,7 +641,6 @@ bool GuiTree::DrawBranch(GuiTreeNode& node, GuiState& state, TreeItem*& jump_ite
643641
ActOnLeftRightArrowKeys(state, &next_node);
644642
if (next_node.GetItem() == state.GetCurrentItem())
645643
m_curr_node = &next_node;
646-
647644

648645
auto next_node_icon_rect = next_node.Draw(state, jump_item);
649646

@@ -673,7 +670,6 @@ bool GuiTree::DrawBranch(GuiTreeNode& node, GuiState& state, TreeItem*& jump_ite
673670

674671
if (!node.m_children.empty() && node.m_children.back().IsLeaf())
675672
drawList->AddLine(vertical_line_start, vertical_line_end, ImColor(128, 128, 128, 100));
676-
677673

678674
return true;
679675
}

0 commit comments

Comments
 (0)