Merge pull request #89599 from timothyqiu/vegetate

Fix unexpected auto translation of editor `Tree` content
This commit is contained in:
Rémi Verschelde 2024-03-23 21:15:39 -07:00 committed by GitHub
commit 05372773e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 54 additions and 0 deletions

View file

@ -809,6 +809,7 @@ void Skeleton3DEditor::create_editors() {
bones_section->get_vbox()->add_child(s_con);
joint_tree = memnew(Tree);
joint_tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
joint_tree->set_columns(1);
joint_tree->set_focus_mode(Control::FOCUS_NONE);
joint_tree->set_select_mode(Tree::SELECT_SINGLE);