mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Make auto translation inheritable
This commit is contained in:
parent
6f805dee2a
commit
7b42c24550
51 changed files with 284 additions and 136 deletions
|
@ -256,7 +256,7 @@ ShaderFileEditor::ShaderFileEditor() {
|
|||
add_child(main_hs);
|
||||
|
||||
versions = memnew(ItemList);
|
||||
versions->set_auto_translate(false);
|
||||
versions->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
|
||||
versions->connect("item_selected", callable_mp(this, &ShaderFileEditor::_version_selected));
|
||||
versions->set_custom_minimum_size(Size2i(200 * EDSCALE, 0));
|
||||
main_hs->add_child(versions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue