From 85c321f2457a3351ae70e6558e5fd680469b13d3 Mon Sep 17 00:00:00 2001 From: Xenovyy Date: Fri, 27 Mar 2026 11:05:22 -0400 Subject: [PATCH] Only show when full f3 menu is open --- Minecraft.Client/Gui.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Gui.cpp b/Minecraft.Client/Gui.cpp index 994513828..8088d3fd6 100644 --- a/Minecraft.Client/Gui.cpp +++ b/Minecraft.Client/Gui.cpp @@ -1178,10 +1178,14 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse) int yPos = debugTop; for (const auto &line : lines) { - fill(debugLeft - 1, yPos - 1, debugLeft + font->width(line) + 1, yPos + 8 + 1, 0x80303030, true); + if (lines.size() > 5) + { + fill(debugLeft - 1, yPos - 1, debugLeft + font->width(line) + 1, yPos + 8 + 1, 0x80303030, true); + } drawString(font, line, debugLeft, yPos, 0xffffff); yPos += 10; } + glMatrixMode(GL_MODELVIEW); glPopMatrix(); glMatrixMode(GL_PROJECTION);