Add explicit progress bar size

This commit is contained in:
Wuzzy 2019-03-20 13:35:36 +01:00
parent 8b577c7424
commit 1568d1f418

@ -186,7 +186,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}