Explicitly set statbar size for progress bars

This commit is contained in:
Wuzzy 2017-05-29 16:14:40 +02:00
parent fa82d2df1c
commit cfebd5138d
1 changed files with 1 additions and 1 deletions

View File

@ -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}