From e4cdbd06d62a0d58d4460afcf24c73afbe15e712 Mon Sep 17 00:00:00 2001 From: andi-makes Date: Fri, 10 May 2024 18:32:40 +0200 Subject: [PATCH] fix dark settings background --- .../src/main/java/dev/schmarrn/lighty/ui/SettingsScreen.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/src/main/java/dev/schmarrn/lighty/ui/SettingsScreen.java b/common/src/main/java/dev/schmarrn/lighty/ui/SettingsScreen.java index 23161ec..14258e0 100644 --- a/common/src/main/java/dev/schmarrn/lighty/ui/SettingsScreen.java +++ b/common/src/main/java/dev/schmarrn/lighty/ui/SettingsScreen.java @@ -125,6 +125,11 @@ public void render(@NotNull GuiGraphics guiGraphics, int i, int j, float f) { super.render(guiGraphics, i, j, f); } + @Override + public void renderBackground(GuiGraphics guiGraphics, int mouseX, int mouseY, float delta) { + // do not render background here, we render it in this.render instead + } + @Override public void onClose() { Compute.clear();