Skip to content

Commit 6968a17

Browse files
committed
changelog
1 parent b9ce951 commit 6968a17

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

changelogs/1.2.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Categories can now be scrolled when overflowing
2+
- Available property for options, so you can disable certain options in some conditions
3+
- Fix all first tooltip line having a larger line height

src/main/java/dev/isxander/yacl/gui/YACLScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public static void renderMultilineTooltip(MatrixStack matrices, TextRenderer tex
245245
if (text.count() > 0) {
246246
int maxWidth = text.getMaxWidth();
247247
int lineHeight = textRenderer.fontHeight + 1;
248-
int height = text.count() * lineHeight;
248+
int height = text.count() * lineHeight - 1;
249249

250250
int drawX = x + 12;
251251
int drawY = y - 12;

0 commit comments

Comments
 (0)