Merge pull request #116457 from YeldhamDev/yet_another_scroll_hint_pr

Add scroll hints to the cross-animation blend dialog
This commit is contained in:
Thaddeus Crews 2026-03-04 14:32:37 -06:00
commit 2b856f3800
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -2259,7 +2259,8 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
blend_editor.tree->set_column_clip_content(0, true);
blend_editor.tree->set_column_expand_ratio(1, 3);
blend_editor.tree->set_column_clip_content(1, true);
blend_vb->add_margin_child(TTRC("Blend Times:"), blend_editor.tree, true);
blend_editor.tree->set_scroll_hint_mode(Tree::SCROLL_HINT_MODE_BOTH);
blend_vb->add_margin_child(TTRC("Blend Times:"), blend_editor.tree, true)->set_theme_type_variation("NoBorderHorizontalWindow");
blend_editor.tree->connect(SNAME("item_edited"), callable_mp(this, &AnimationPlayerEditor::_blend_edited));
blend_editor.next = memnew(OptionButton);