forked from mtcontrib/minetest_hudbars
Move text 1px up so it fits better into box
This commit is contained in:
parent
1786ae2cab
commit
d64dcb83b5
2
init.lua
2
init.lua
|
@ -243,7 +243,7 @@ function hb.register_hudbar(identifier, text_color, label, textures, default_sta
|
|||
alignment = {x=1,y=1},
|
||||
number = text_color,
|
||||
direction = 0,
|
||||
offset = { x = offset.x + 2, y = offset.y },
|
||||
offset = { x = offset.x + 2, y = offset.y - 1},
|
||||
})
|
||||
end
|
||||
-- Do not forget to update hb.get_hudbar_state if you add new fields to the state table
|
||||
|
|
Loading…
Reference in New Issue
Block a user