Support custom tooltip component heights in goggle overlay

This commit is contained in:
zelophed 2024-03-16 17:48:34 +01:00
parent 5df8ed963e
commit 04d1a53846

View File

@ -188,7 +188,7 @@ public class RemovedGuiUtils {
if (lineNumber + 1 == titleLinesCount) if (lineNumber + 1 == titleLinesCount)
tooltipY += 2; tooltipY += 2;
tooltipY += 10; tooltipY += line == null ? 10 : line.getHeight();
} }
renderType.endBatch(); renderType.endBatch();