Add scroll hints to the cross-animation blend dialog

This commit is contained in:
Michael Alexsander 2026-02-18 19:25:37 -03:00
parent 897172fa25
commit c36f1f03bf
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA

View file

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