mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-19 14:21:12 +00:00
RR: fix placement of time display on alt. HUD.
This commit is contained in:
parent
2aa1e22002
commit
7e1fe48ff2
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ class AltHud ui
|
|||
{
|
||||
String s = String.Format("%02i:%02i:%02i", seconds / 3600, (seconds % 3600) / 60, seconds % 60);
|
||||
int length = 8 * fnt.GetCharWidth("0");
|
||||
DrawHudText(fnt, color, s, x-length, y, trans, fontscale);
|
||||
DrawHudText(fnt, color, s, x-length * fontscale, y, trans, fontscale);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
@ -638,8 +638,8 @@ class AltHud ui
|
|||
let allname = amstr .. volname;
|
||||
let myfont = generic_ui? NewSmallFont : StatFont.CanPrint(allname)? StatFont : OriginalSmallFont;
|
||||
int bottom = hudheight - 1;
|
||||
int fonth = myfont.GetHeight() + 1;
|
||||
double fontscale = generic_ui? 1. : currentStats.info.fontscale;
|
||||
double fonth = myfont.GetHeight() * fontscale + 1;
|
||||
|
||||
if (am_showtotaltime)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue