Unfold tree items on hover while drag-n-dropping

Co-authored-by: suddjian
This commit is contained in:
Michael Alexsander
2025-09-24 22:34:10 -03:00
parent 1f7630f1bf
commit 26745b4b87
11 changed files with 82 additions and 4 deletions

View File

@ -912,6 +912,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);