Merge pull request #83577 from DennisManaa/fix-translation-for-item-list

Add automatic translation of items to ItemList
This commit is contained in:
Rémi Verschelde
2024-01-04 16:39:36 +01:00
20 changed files with 40 additions and 2 deletions

View File

@ -1316,6 +1316,7 @@ GridMapEditor::GridMapEditor() {
EDITOR_DEF("editors/grid_map/preview_size", 64);
mesh_library_palette = memnew(ItemList);
mesh_library_palette->set_auto_translate(false);
add_child(mesh_library_palette);
mesh_library_palette->set_v_size_flags(SIZE_EXPAND_FILL);
mesh_library_palette->connect("gui_input", callable_mp(this, &GridMapEditor::_mesh_library_palette_input));