From 2e30413b52c7f568e1d85cd2a5c53a3733225ed7 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Fri, 25 Dec 2020 23:06:54 +0100 Subject: [PATCH] Rename function --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 488dd75..bc290d7 100644 --- a/init.lua +++ b/init.lua @@ -1347,7 +1347,7 @@ local function get_model_fs(fs, data, def, model_alias) def.mesh, concat(t, ","), model_alias and model_alias.frames or "")) end -local function get_title_fs(fs, data) +local function get_header(fs, data) local fav = is_fav(data.favs, data.query_item) local nfavs = #data.favs local star_x, star_y, star_size = data.xoffset + 0.4, data.yoffset + 0.5, 0.4 @@ -1518,7 +1518,7 @@ local function get_panels(fs, data) if is_recipe or is_usage then get_rcp_extra(fs, data, panel, is_recipe, is_usage) elseif panel.name == "title" then - get_title_fs(fs, data) + get_header(fs, data) elseif panel.name == "favs" then get_favs(fs, data) end