Skip to content

Commit

Permalink
Fix blur obscuring prompt text
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed May 15, 2024
1 parent 1a7413d commit 44446de
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public void init() {
this.addRenderableWidget(this.actionButton);
}

@Override
protected void renderBlurredBackground(float f) {
// Disable the blur
}

public void render(GuiGraphics drawContext, int mouseX, int mouseY, float delta) {
// First, render the old screen. This gives the illusion of the prompt being on top.
this.prevScreen.render(drawContext, -1, -1, delta);
Expand Down

0 comments on commit 44446de

Please sign in to comment.