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

@ -216,6 +216,7 @@ EditorPropertyRootMotion::EditorPropertyRootMotion() {
filters = memnew(Tree);
filter_dialog->add_child(filters);
filters->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
filters->set_v_size_flags(SIZE_EXPAND_FILL);
filters->set_hide_root(true);
filters->connect("item_activated", callable_mp(this, &EditorPropertyRootMotion::_confirmed));