summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-09-18 16:28:38 +0200
committerWuzzy <almikes@aol.com>2017-09-18 16:28:38 +0200
commitec238287cb8eac6a7b3560b46bf7c3502ddfaf60 (patch)
treef2e4767bf7c0695f4b8f49086477e0c279064be8
parent1e522e2896d3720dc150f29238aec260719ad847 (diff)
No longer set progress bar image size explicitly
This may fix problems with some people having the progress bar displaced.
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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}