From ec238287cb8eac6a7b3560b46bf7c3502ddfaf60 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 18 Sep 2017 16:28:38 +0200 Subject: [PATCH] No longer set progress bar image size explicitly This may fix problems with some people having the progress bar displaced. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 495dca6..fc43f85 100644 --- a/init.lua +++ b/init.lua @@ -195,7 +195,7 @@ function hb.register_hudbar(identifier, text_color, label, textures, default_sta local bar_image, bar_size if hb.settings.bar_type == "progress_bar" then bar_image = textures.bar - bar_size = {x=2, y=16} + bar_size = nil elseif hb.settings.bar_type == "statbar_classic" or hb.settings.bar_type == "statbar_modern" then bar_image = textures.icon bar_size = {x=24, y=24}