Tidy packaging script and fix 'Connection Failed' dialog

This commit is contained in:
pchote
2010-02-22 03:15:35 +13:00
parent d1a871ff6f
commit f8390864ac
2 changed files with 7 additions and 7 deletions

View File

@@ -233,7 +233,7 @@ namespace OpenRa
public void DrawDialog(string text)
{
var w = renderer.MeasureText(text).X + 120;
var w = renderer.MeasureText2(text).X + 120;
var h = 100;
var r = new Rectangle((Game.viewport.Width - w) / 2, (Game.viewport.Height - h) / 2, w, h);
DrawDialogBackground(r, "dialog");