mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 12:33:43 +01:00
Improve search look
This commit is contained in:
parent
a3e7031c04
commit
ca723202d6
6
init.lua
6
init.lua
@ -1052,10 +1052,12 @@ local function make_fs(data)
|
|||||||
end
|
end
|
||||||
|
|
||||||
fs[#fs + 1] = fmt([[
|
fs[#fs + 1] = fmt([[
|
||||||
field[0.25,0.2;%f,1;filter;;%s]
|
style[filter;border=false]
|
||||||
|
field[0.4,0.2;2.5,1;filter;;%s]
|
||||||
field_close_on_enter[filter;false]
|
field_close_on_enter[filter;false]
|
||||||
|
box[0,0;2.4,0.6;#ffffff25]
|
||||||
]],
|
]],
|
||||||
sfinv_only and 2.76 or 2.72, ESC(data.filter))
|
ESC(data.filter))
|
||||||
|
|
||||||
if data.fs_version >= 3 then
|
if data.fs_version >= 3 then
|
||||||
fs[#fs + 1] = fmt([[
|
fs[#fs + 1] = fmt([[
|
||||||
|
Loading…
Reference in New Issue
Block a user