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 46ed6a6dda
commit 312ad5b63b

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