Fix paragraph spacing

This commit is contained in:
Sollace 2022-09-02 10:36:56 +02:00
parent 8fe3e9ec62
commit 5256f1f273

View file

@ -93,7 +93,7 @@ interface PageElement extends Drawable {
}); });
unwrappedText.visit(visitor, Style.EMPTY); unwrappedText.visit(visitor, Style.EMPTY);
visitor.forceAdvance(); visitor.forceAdvance();
bounds.height = MinecraftClient.getInstance().textRenderer.fontHeight * (wrappedText.size() + 1); bounds.height = MinecraftClient.getInstance().textRenderer.fontHeight * (wrappedText.size());
} }
@Override @Override