1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Make auto translation inheritable

This commit is contained in:
Michael Alexsander
2024-01-23 18:29:45 -03:00
parent 6f805dee2a
commit 7b42c24550
51 changed files with 284 additions and 136 deletions

View File

@@ -659,7 +659,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
window_wrapper->connect("window_visibility_changed", callable_mp(this, &ShaderEditorPlugin::_window_changed));
shader_list = memnew(ItemList);
shader_list->set_auto_translate(false);
shader_list->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
shader_list->set_v_size_flags(Control::SIZE_EXPAND_FILL);
vb->add_child(shader_list);
shader_list->connect("item_selected", callable_mp(this, &ShaderEditorPlugin::_shader_selected));