mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar
This commit is contained in:
parent
a0535d286b
commit
15c037614f
2 changed files with 31 additions and 33 deletions
|
@ -7,7 +7,7 @@ local health_bar_definition =
|
|||
number = 20,
|
||||
direction = 0,
|
||||
size = { x=24, y=24 },
|
||||
offset = { x=(-10*24)-25, y=-(48+24+10)},
|
||||
offset = { x=(-10*24)-25, y=-(48+24+16)},
|
||||
}
|
||||
|
||||
local breath_bar_definition =
|
||||
|
@ -18,7 +18,7 @@ local breath_bar_definition =
|
|||
number = 20,
|
||||
direction = 0,
|
||||
size = { x=24, y=24 },
|
||||
offset = {x=25,y=-(48+24+10)},
|
||||
offset = {x=25,y=-(48+24+16)},
|
||||
}
|
||||
|
||||
local hud_ids = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue