Tweak textures

This commit is contained in:
Jean-Patrick Guerrero 2022-06-30 16:31:43 +02:00
parent 9ab47fc0f0
commit 652c486249
4 changed files with 6 additions and 3 deletions

View File

@ -1355,14 +1355,15 @@ local function get_items_fs(fs, data, player, full_height)
if #items == 0 then
local lbl = ES"No item to show"
local icon, width, offset = PNG.no_result, 4, 2
if next(i3.recipe_filters) and #i3.init_items > 0 and data.filter == "" then
lbl = ES"Collect items to reveal more recipes" -- Progressive mode, etc.
else
image(data.inv_width + 2, 4.5, 4, 4, "i3_no_result.png")
icon, width, offset = PNG.find_more, 2.5, 2.75
end
button(data.inv_width + 0.1, 3, 8, 1, "no_item", lbl)
image(data.inv_width + offset, 3.5, width, width, icon)
button(data.inv_width + 0.1, 7, 8, 1, "no_item", lbl)
else
local first_item = (data.pagenum - 1) * ipp

View File

@ -42,6 +42,8 @@ local PNG = {
home = "i3_home.png",
flag = "i3_flag.png",
edit = "i3_edit.png",
no_result = "i3_no_result.png",
find_more = "i3_find_more.png",
cancel_hover = "i3_cancel.png^\\[brighten",
search_hover = "i3_search.png^\\[brighten",

BIN
textures/i3_find_more.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 22 KiB