diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-03-06 15:20:03 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-03-06 15:20:03 -0500 |
commit | c8806150aae0f1d5f54b285ed773d1521ded20a5 (patch) | |
tree | 6f4cce0fdd3355daab5e4bd5b50498ed67285638 /src | |
parent | 3c3e8ed4432fde2bdd60c49f29244a13e1e12243 (diff) | |
download | fourpuzzle-c8806150aae0f1d5f54b285ed773d1521ded20a5.tar.gz fourpuzzle-c8806150aae0f1d5f54b285ed773d1521ded20a5.tar.bz2 fourpuzzle-c8806150aae0f1d5f54b285ed773d1521ded20a5.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/fourisland/fourpuzzle/window/TextRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
150 | int currentColor = 0; | 150 | int currentColor = 0; |
151 | 151 | ||
152 | int fh = g.getFontMetrics().getHeight(); | 152 | int fh = g.getFontMetrics().getHeight(); |
153 | int ty = fh-(SPACER/2); | 153 | int ty = fh; |
154 | int toPrint = upTo; | 154 | int toPrint = upTo; |
155 | int end = Math.min(messages.size(), start+4); | 155 | int end = Math.min(messages.size(), start+4); |
156 | 156 | ||