Fix creative inventory search not working on Android (fixes #3402)

This commit is contained in:
Mikita Wiśniewski 2024-04-14 13:30:44 +07:00
parent 06b84a6bea
commit 8c758674a2
1 changed files with 1 additions and 0 deletions

View File

@ -595,6 +595,7 @@ function mcl_inventory.set_creative_formspec(player)
formspec = formspec .. table.concat({
"field[5.325,0.15;6.1,0.6;search;;" .. minetest.formspec_escape(filter) .. "]",
"field_close_on_enter[search;false]",
"field_enter_after_edit[search;true]",
"set_focus[search;true]",
})
end