Skip to content

Commit

Permalink
fix for configuration card screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushmead committed Aug 3, 2024
1 parent ae1792d commit e123880
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,15 @@ protected void update(){

@Override
public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) {
this.renderBackground(guiGraphics);
super.render(guiGraphics, mouseX, mouseY, partialTick);
}

@Override
public void renderBackground(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) {
super.renderBackground(guiGraphics, mouseX, mouseY, partialTick);
this.renderWindow(guiGraphics);
}

private void renderWindow(GuiGraphics guiGraphics){
int layoutHeight = 0;
if(layout != null) {
Expand Down

0 comments on commit e123880

Please sign in to comment.