CHG: Force update

This commit is contained in:
freebipman 2020-08-27 09:28:12 +10:00
parent 9de32c65ba
commit 7dc96659f5

View File

@ -31,8 +31,8 @@ namespace BipEmulator.Host
public void TextOutCenter(Bitmap bmp, string text, int x, int y, Color fgColor, Color bgColor, bool bgTransparent = false)
{
var w = GetTextWidth(text);
var h = GetTextHeight();
var w = GetTextWidth(text);
TextOut(bmp, text, x - w / 2, y, fgColor, bgColor, bgTransparent);
}