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

@ -173,6 +173,7 @@ void BonePicker::create_editors() {
add_child(vbox);
bones = memnew(Tree);
bones->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
bones->set_select_mode(Tree::SELECT_SINGLE);
bones->set_v_size_flags(Control::SIZE_EXPAND_FILL);
bones->set_hide_root(true);