From 0271f61fc2068617741e80a5b82be21b6391e73b Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Thu, 21 Mar 2019 17:36:00 +0100 Subject: [PATCH] Change tooltip format --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 7236fe9..363a61d 100644 --- a/init.lua +++ b/init.lua @@ -48,7 +48,7 @@ local FMT = { label = "label[%f,%f;%s]", image = "image[%f,%f;%f,%f;%s]", button = "button[%f,%f;%f,%f;%s;%s]", - tooltip = "tooltip[%s;%s]", + tooltip = "tooltip[%f,%f;%f,%f;%s]", item_image = "item_image[%f,%f;%f,%f;%s]", image_button = "image_button[%f,%f;%f,%f;%s;%s;%s]", item_image_button = "item_image_button[%f,%f;%f,%f;%s;%s;%s]", @@ -419,7 +419,7 @@ local function get_tooltip(item, groups, cooktime, burntime) S("Burning time: @1", colorize("yellow", burntime)) end - return fmt(FMT.tooltip, item, ESC(tooltip)) + return fmt("tooltip[%s;%s]", item, ESC(tooltip)) end local function get_recipe_fs(data, iY)