From 5256f1f273c70aa0dc51886d8c26c876febc3b12 Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 2 Sep 2022 10:36:56 +0200 Subject: [PATCH] Fix paragraph spacing --- .../java/com/minelittlepony/unicopia/container/PageElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/container/PageElement.java b/src/main/java/com/minelittlepony/unicopia/container/PageElement.java index 493a6ba5..2d23666c 100644 --- a/src/main/java/com/minelittlepony/unicopia/container/PageElement.java +++ b/src/main/java/com/minelittlepony/unicopia/container/PageElement.java @@ -93,7 +93,7 @@ interface PageElement extends Drawable { }); unwrappedText.visit(visitor, Style.EMPTY); visitor.forceAdvance(); - bounds.height = MinecraftClient.getInstance().textRenderer.fontHeight * (wrappedText.size() + 1); + bounds.height = MinecraftClient.getInstance().textRenderer.fontHeight * (wrappedText.size()); } @Override