Skip to content

Commit dedbc8b

Browse files
committed
Merge pull request godotengine#112625 from BrotherShort/fix-tree-vertical-line
Fix tree vertical line width bug
2 parents b83343f + 4f5f36c commit dedbc8b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scene/gui/tree.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,6 +2851,10 @@ int Tree::draw_item(const Point2i &p_pos, const Point2 &p_draw_ofs, const Size2
28512851
}
28522852
}
28532853
}
2854+
} else {
2855+
if (_is_branch_selected(c)) {
2856+
has_sibling_selection = _is_sibling_branch_selected(c);
2857+
}
28542858
}
28552859

28562860
prev_ofs = root_pos.y + more_prev_ofs + line_pixel_shift;

0 commit comments

Comments
 (0)