From cfebd5138db3925e96eac05a8d15d16cd8171a94 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 29 May 2017 16:14:40 +0200 Subject: [PATCH] Explicitly set statbar size for progress bars --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 89d8b1c..db9072a 100644 --- a/init.lua +++ b/init.lua @@ -236,7 +236,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 = nil + bar_size = {x=2, y=16} 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}