From c8806150aae0f1d5f54b285ed773d1521ded20a5 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Fri, 6 Mar 2009 15:20:03 -0500 Subject: Engine: Fixed text chop-off Previously, the top of the text would be chopped off because the text was being rendered too high. This has been fixed. --- src/com/fourisland/fourpuzzle/window/TextRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/fourisland/fourpuzzle/window/TextRenderer.java b/src/com/fourisland/fourpuzzle/window/TextRenderer.java index f114c4d..a84a13f 100644 --- a/src/com/fourisland/fourpuzzle/window/TextRenderer.java +++ b/src/com/fourisland/fourpuzzle/window/TextRenderer.java @@ -150,7 +150,7 @@ public class TextRenderer { int currentColor = 0; int fh = g.getFontMetrics().getHeight(); - int ty = fh-(SPACER/2); + int ty = fh; int toPrint = upTo; int end = Math.min(messages.size(), start+4); -- cgit 1.4.1