1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix unexpected auto translation of Tree content

This commit is contained in:
Haoyu Qiu
2024-03-17 16:28:18 +08:00
parent fe01776f05
commit 8cd1ebbd6d
37 changed files with 54 additions and 0 deletions

View File

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