From e9189424394d78b17b3f043685653d3b1fb29ad4 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Fri, 20 Jan 2023 16:06:25 +0100 Subject: [PATCH] Minor fix --- src/gui.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui.lua b/src/gui.lua index 96df8cc..89fc590 100644 --- a/src/gui.lua +++ b/src/gui.lua @@ -946,6 +946,10 @@ local function get_output_fs(fs, data, rcp, is_recipe, is_usage, shapeless, righ local itemstr = ESC(item:to_string()) item_image_button(X + 0.11, Y, BTN_SIZE, BTN_SIZE, itemstr, _name, "") + if item:get_stack_max() < count then + label(X + 1.05, Y + 1, count) + end + local def = reg_items[name] local unknown = not def or nil local desc = def and def.description