Skip to content

Commit 4f5f36c

Browse files
committed
fix tree vertical line width bug
1 parent 2d86b69 commit 4f5f36c

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)