From c533b2e8ea759a6e1c335eee2141314e0bc24e2a Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 8 Jun 2024 07:19:50 -0500 Subject: [PATCH] Fix config screen blur on 1.20.6 --- .../common/wrappers/gui/updater/ChangelogScreen.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java index 1328a5ba9..76adb6d58 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java @@ -168,10 +168,9 @@ public class ChangelogScreen extends DhScreen #endif - this.changelogArea.render(matrices, mouseX, mouseY, delta); // Render the changelog - + // render order matters, otherwise on 1.20.6+ the blurred background will render on top of the text super.render(matrices, mouseX, mouseY, delta); // Render the buttons - + this.changelogArea.render(matrices, mouseX, mouseY, delta); // Render the changelog DhDrawCenteredString(matrices, font, title, width / 2, 15, 0xFFFFFF); // Render title }