mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
add pack filter by id
This commit is contained in:
parent
b06bbd3f7d
commit
ff652226fb
2 changed files with 5 additions and 5 deletions
|
|
@ -39,7 +39,7 @@ function refresh_search()
|
|||
local pos = content.pos
|
||||
local size = content.size
|
||||
|
||||
if title:lower():find(search_text) or search_text == '' then
|
||||
if title:lower():find(search_text) or id:lower():find(search_text) or search_text == '' then
|
||||
content.enabled = true
|
||||
content.pos = {pos[1], visible * (size[2] + interval) - step}
|
||||
visible = visible + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue