From 3b89f6932ce380536f997a2af21c8b3b2f8b8954 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sun, 3 Jan 2021 22:16:24 +0100 Subject: [PATCH] Tweak values --- init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 93af17f..3a14e26 100644 --- a/init.lua +++ b/init.lua @@ -1737,12 +1737,12 @@ local function get_inventory_mode(player, fs, data, full_height) fs(fmt("bg9", 0, 0, data.xoffset, full_height, PNG.bg_full, 10)) for i = 0, 7 do - fs(fmt("image", i + 0.23 + (i * 0.25), 6.1, 1, 1, "i3_hb_bg.png")) + fs(fmt("image", i + 0.235 + (i * 0.25), 6.1, 1, 1, "i3_hb_bg.png")) end fs("listring[current_player;main]", - "list[current_player;main;0.23,6.1;8,1;]", - "list[current_player;main;0.23,7.4;8,3;8]") + "list[current_player;main;0.235,6.1;8,1;]", + "list[current_player;main;0.235,7.4;8,3;8]") local props = player:get_properties() local name = player:get_player_name() @@ -1766,7 +1766,7 @@ local function get_inventory_mode(player, fs, data, full_height) fs(sprintf([[ scrollbaroptions[arrows=hide;thumbsize=%u;max=%u] - scrollbar[9.67,0.2;0.3,5.5;vertical;scrbar_inv;%u] + scrollbar[9.69,0.2;0.3,5.5;vertical;scrbar_inv;%u] ]], (max_val * 3) / 15, max_val, data.scrbar_inv or 0))