Another UI tweak

This commit is contained in:
Jean-Patrick Guerrero 2022-08-01 06:43:20 +02:00
parent 629676a975
commit 1389027a22

View File

@ -1346,7 +1346,7 @@ local function get_items_fs(fs, data, player, full_height)
if true_str(data.filter) then if true_str(data.filter) then
image_button(data.inv_width + 4.3, 0.4, 0.2, 0.2, "", "cancel", "") image_button(data.inv_width + 4.3, 0.4, 0.2, 0.2, "", "cancel", "")
fs(fmt("tooltip[cancel;%s]", ES"Clear")) fs(fmt("tooltip[cancel;%s]", ES"Clear"))
image(data.inv_width + 0.8, 0.13, 4, 0.8, PNG.search_outline) box(data.inv_width + 0.85, 0.75, 3.74, 0.01, "#f9826c")
end end
data.pagemax = max(1, ceil(#items / ipp)) data.pagemax = max(1, ceil(#items / ipp))