Merge pull request #112625 from BrotherShort/fix-tree-vertical-line

Fix tree vertical line width bug
This commit is contained in:
Thaddeus Crews 2025-11-11 10:37:36 -06:00
commit dedbc8b26a
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -2851,6 +2851,10 @@ int Tree::draw_item(const Point2i &p_pos, const Point2 &p_draw_ofs, const Size2
}
}
}
} else {
if (_is_branch_selected(c)) {
has_sibling_selection = _is_sibling_branch_selected(c);
}
}
prev_ofs = root_pos.y + more_prev_ofs + line_pixel_shift;