1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00

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

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;