diff options
author | xander <xander@isxander.dev> | 2022-09-15 19:32:34 +0100 |
---|---|---|
committer | xander <xander@isxander.dev> | 2022-09-15 19:32:34 +0100 |
commit | 6968a175607e885e1846db902a5589f48feb440e (patch) | |
tree | d91e075c8f4a3c2f254271ca7e0538053185f855 /src/main/java/dev/isxander/yacl/gui/YACLScreen.java | |
parent | b9ce9513c8e55ed53321d78b6fbbd07aacd5e987 (diff) | |
download | YetAnotherConfigLib-6968a175607e885e1846db902a5589f48feb440e.tar.gz YetAnotherConfigLib-6968a175607e885e1846db902a5589f48feb440e.tar.bz2 YetAnotherConfigLib-6968a175607e885e1846db902a5589f48feb440e.zip |
changelog
Diffstat (limited to 'src/main/java/dev/isxander/yacl/gui/YACLScreen.java')
-rw-r--r-- | src/main/java/dev/isxander/yacl/gui/YACLScreen.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java index 3fb1ad5..26f4ad5 100644 --- a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java +++ b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java @@ -245,7 +245,7 @@ public class YACLScreen extends Screen { if (text.count() > 0) { int maxWidth = text.getMaxWidth(); int lineHeight = textRenderer.fontHeight + 1; - int height = text.count() * lineHeight; + int height = text.count() * lineHeight - 1; int drawX = x + 12; int drawY = y - 12; |