No longer set progress bar image size explicitly

This may fix problems with some people having the progress bar displaced.
master
Wuzzy 2017-09-18 16:28:38 +02:00
parent 1e522e2896
commit ec238287cb
1 changed files with 1 additions and 1 deletions

View File

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