aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl/gui/YACLScreen.java
diff options
context:
space:
mode:
authorxander <xander@isxander.dev>2022-09-15 19:32:34 +0100
committerxander <xander@isxander.dev>2022-09-15 19:32:34 +0100
commit6968a175607e885e1846db902a5589f48feb440e (patch)
treed91e075c8f4a3c2f254271ca7e0538053185f855 /src/main/java/dev/isxander/yacl/gui/YACLScreen.java
parentb9ce9513c8e55ed53321d78b6fbbd07aacd5e987 (diff)
downloadYetAnotherConfigLib-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.java2
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;