Fix lag counter display where lag frame drawing did not use the anchoring property

This commit is contained in:
adelikat 2012-07-25 00:51:59 +00:00
parent 863a7c3690
commit bb05876f84
1 changed files with 2 additions and 6 deletions

View File

@ -491,12 +491,8 @@ namespace BizHawk.MultiClient
{ {
float x = GetX(g, Global.Config.DispLagx, Global.Config.DispLaganchor, AlertFont, counter); float x = GetX(g, Global.Config.DispLagx, Global.Config.DispLaganchor, AlertFont, counter);
float y = GetY(g, Global.Config.DispLagy, Global.Config.DispLaganchor, AlertFont, counter); float y = GetY(g, Global.Config.DispLagy, Global.Config.DispLaganchor, AlertFont, counter);
g.DrawString(MakeLagCounter(), AlertFont, Color.Black, g.DrawString(MakeLagCounter(), AlertFont, Color.Black, x + 1, y + 1);
Global.Config.DispLagx + 1, g.DrawString(MakeLagCounter(), AlertFont, FixedAlertMessageColor,x, y);
Global.Config.DispLagy + 1);
g.DrawString(MakeLagCounter(), AlertFont, FixedAlertMessageColor,
Global.Config.DispLagx,
Global.Config.DispLagy);
} }
else else
{ {