mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
fix tree vertical line width bug
This commit is contained in:
parent
2d86b69bf1
commit
4f5f36c361
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue