mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Fix creative inventory search not working on Android (fixes #3402)
This commit is contained in:
parent
46ed6a6dda
commit
312ad5b63b
@ -595,6 +595,7 @@ function mcl_inventory.set_creative_formspec(player)
|
|||||||
formspec = formspec .. table.concat({
|
formspec = formspec .. table.concat({
|
||||||
"field[5.325,0.15;6.1,0.6;search;;" .. minetest.formspec_escape(filter) .. "]",
|
"field[5.325,0.15;6.1,0.6;search;;" .. minetest.formspec_escape(filter) .. "]",
|
||||||
"field_close_on_enter[search;false]",
|
"field_close_on_enter[search;false]",
|
||||||
|
"field_enter_after_edit[search;true]",
|
||||||
"set_focus[search;true]",
|
"set_focus[search;true]",
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user