mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-08-20 13:16:07 +02:00
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},
|
alignment = {x=1,y=1},
|
||||||
number = text_color,
|
number = text_color,
|
||||||
direction = 0,
|
direction = 0,
|
||||||
offset = { x = offset.x + 2, y = offset.y },
|
offset = { x = offset.x + 2, y = offset.y - 1},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
-- Do not forget to update hb.get_hudbar_state if you add new fields to the state table
|
-- 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