Fix config screen rendering order in 1.20.4

This commit is contained in:
FlorianMichael 2024-04-21 18:04:56 +02:00
parent 16dd9002b3
commit 40689b6400
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
1 changed files with 1 additions and 2 deletions

View File

@ -161,9 +161,8 @@ public class ViaConfigScreen extends Screen implements AbstractViaConfigScreen {
@Override
public void render(DrawContext drawContext, int mouseX, int mouseY, float delta) {
this.renderBackground(drawContext, mouseX, mouseY, delta);
drawContext.drawCenteredTextWithShadow(this.textRenderer, this.title, this.width / 2, 20, 16777215);
super.render(drawContext, mouseX, mouseY, delta);
drawContext.drawCenteredTextWithShadow(this.textRenderer, this.title, this.width / 2, 20, 16777215);
}
@Override