From b30958c330a31fbd47621dfbd89955e98314a8a3 Mon Sep 17 00:00:00 2001 From: poq <120293384+poqli@users.noreply.github.com> Date: Sat, 27 Apr 2024 17:58:38 -0400 Subject: [PATCH] Renamed some parameters for consistency Renamed the parameters of the render() function in SettingsScreen.java to match those of the render() function in ModeSwitcherScreen.java --- .../main/java/dev/schmarrn/lighty/ui/SettingsScreen.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 0eb0d19..bdb96ea 100644 --- a/common/src/main/java/dev/schmarrn/lighty/ui/SettingsScreen.java +++ b/common/src/main/java/dev/schmarrn/lighty/ui/SettingsScreen.java @@ -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