From 551a9d517d7c7fe2b93fa0503de8349d8a680956 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Wed, 8 Dec 2021 02:52:43 +0100 Subject: [PATCH] Small improvement --- src/gui.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui.lua b/src/gui.lua index 1d2a9b7..e7e4516 100644 --- a/src/gui.lua +++ b/src/gui.lua @@ -288,6 +288,7 @@ local function get_waypoint_fs(fs, data, player, yextra, ctn_len) fs(fmt("tooltip[waypoint_add;%s]", ES"Add waypoint")) if #data.waypoints == 0 then return end + fs("style_type[label;font=bold;font_size=17]") for i, v in ipairs(data.waypoints) do local y = yextra + 1.35 + (i - (i * 0.3)) @@ -302,8 +303,6 @@ local function get_waypoint_fs(fs, data, player, yextra, ctn_len) waypoint_name = snip(waypoint_name, lim) end - fs"style_type[label;font_size=17]" - local hex = fmt("%02x", v.color) while #hex < 6 do @@ -361,7 +360,7 @@ local function get_waypoint_fs(fs, data, player, yextra, ctn_len) end end - fs"style_type[label;font_size=16]" + fs"style_type[label;font=normal;font_size=16]" end local function get_bag_fs(fs, data, name, esc_name, bag_size, yextra)