mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 15:21:48 +00:00
- move inventory item used amount down 0.5px in Duke FullscreenHUD1 to perfectly line it up.
This commit is contained in:
parent
1fc117341e
commit
72c4a5281c
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ public:
|
|||
int percentv = getinvamount(p);
|
||||
format.Format("%3d%%", percentv);
|
||||
EColorRange color = percentv > 50 ? CR_GREEN : percentv > 25 ? CR_GOLD : CR_RED;
|
||||
SBar_DrawString(this, &indexFont, format, x + 36.5, -indexFont.mFont->GetHeight(), DI_TEXT_ALIGN_RIGHT, color, 1, 0, 0, 1, 1);
|
||||
SBar_DrawString(this, &indexFont, format, x + 36.5, -indexFont.mFont->GetHeight() + 0.5, DI_TEXT_ALIGN_RIGHT, color, 1, 0, 0, 1, 1);
|
||||
|
||||
auto text = ontext(p);
|
||||
if (text.first) SBar_DrawString(this, &miniFont, text.first, x + 36.5, -miniFont.mFont->GetHeight() - 9.5, DI_TEXT_ALIGN_RIGHT, text.second, 1, 0, 0, 1, 1);
|
||||
|
|
Loading…
Reference in a new issue