summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-05-29 16:14:40 +0200
committerWuzzy <almikes@aol.com>2017-05-29 16:14:40 +0200
commitcfebd5138db3925e96eac05a8d15d16cd8171a94 (patch)
treef1b68c570d1018ce40949a04e841223dab43dfbf
parentfa82d2df1c20a6ce205acaf26ab003e1269be975 (diff)
Explicitly set statbar size for progress bars
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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}