Skip to content

Commit

Permalink
Renamed some parameters for consistency
Browse files Browse the repository at this point in the history
Renamed the parameters of the render() function in SettingsScreen.java to match those of the render() function in ModeSwitcherScreen.java
  • Loading branch information
poqbox committed Apr 27, 2024
1 parent c864013 commit b30958c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ protected void init() {
}

@Override
public void render(@NotNull GuiGraphics guiGraphics, int i, int j, float f) {
public void render(@NotNull GuiGraphics guiGraphics, int mouseX, int mouseY, float delta) {
this.renderDirtBackground(guiGraphics);
list.render(guiGraphics, i, j , f);
list.render(guiGraphics, mouseX, mouseY, delta);
guiGraphics.drawCenteredString(this.font, this.title, this.width / 2, 20, 0xFFFFFF);
super.render(guiGraphics, i, j, f);
super.render(guiGraphics, mouseX, mouseY, delta);
}

@Override
Expand Down

0 comments on commit b30958c

Please sign in to comment.