From bbe5b69001da165ca971f216fb2fca7179cf8e7d Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sat, 5 Dec 2020 22:35:12 +0100 Subject: [PATCH] Tweak --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 9008903..e9ae28c 100644 --- a/init.lua +++ b/init.lua @@ -114,11 +114,12 @@ local fs_elements = { } local styles = sprintf([[ - style[filter;border=false] style_type[label,field;font_size=+0] style_type[image_button;border=false;sound=craftguide_click] style_type[button;border=false;font=bold;font_size=+2;content_offset=0] style_type[item_image_button;border=false;bgimg_hovered=%s;bgimg_pressed=%s;sound=craftguide_click] + + style[filter;border=false] style[search;fgimg=%s;fgimg_hovered=%s] style[clear;fgimg=%s;fgimg_hovered=%s] style[prev_page;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s] @@ -999,7 +1000,7 @@ local function get_output_fs(fs, rcp, shapeless, right, btn_size, _btn_size, spa fs(get_tooltip(_name, infos)) end - if infos.burntime then + if infos.burntime and sfinv_only then fs(fmt("image", X + 1, YOFFSET + (sfinv_only and 2 or 0.1) + spacing, 0.6, 0.4, PNG.arrow),