Implement automatic translation for ItemList
This commit is contained in:
parent
7f884b4e00
commit
1a1c542836
20 changed files with 40 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue