Merge pull request #110904 from YeldhamDev/tree_drag_unfolding

Unfold tree items on hover while drag-n-dropping
This commit is contained in:
Thaddeus Crews
2025-10-21 15:11:01 -05:00
11 changed files with 82 additions and 4 deletions

View File

@@ -913,6 +913,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("children_hl_line_width", "Tree", 1);
theme->set_constant("parent_hl_line_margin", "Tree", 0);
theme->set_constant("draw_guides", "Tree", 1);
theme->set_constant("dragging_unfold_wait_msec", "Tree", 500);
theme->set_constant("scroll_border", "Tree", Math::round(4 * scale));
theme->set_constant("scroll_speed", "Tree", 12);
theme->set_constant("outline_size", "Tree", 0);