Fix debug screen not showing grey background. Closes #1529

This commit is contained in:
Lex Manos 2014-11-28 11:18:59 -08:00
parent dcefcc9047
commit 10efdbc085
1 changed files with 2 additions and 2 deletions

View File

@ -676,7 +676,7 @@ public class GuiIngameForge extends GuiIngame
{
top += fontrenderer.FONT_HEIGHT;
if (msg == null) continue;
drawRect(1, top - 1, 2 + fontrenderer.getStringWidth(msg) + 1, top - 1, -1873784752);
drawRect(1, top - 1, 2 + fontrenderer.getStringWidth(msg) + 1, top + fontrenderer.FONT_HEIGHT - 1, -1873784752);
fontrenderer.drawString(msg, 2, top, 14737632);
}
@ -687,7 +687,7 @@ public class GuiIngameForge extends GuiIngame
if (msg == null) continue;
int w = fontrenderer.getStringWidth(msg);
int left = width - 2 - w;
drawRect(left - 1, top - 1, left + w + 1, top - 1, -1873784752);
drawRect(left - 1, top - 1, left + w + 1, top + fontrenderer.FONT_HEIGHT - 1, -1873784752);
fontrenderer.drawString(msg, left, top, 14737632);
}
}