Skip to content

Commit 7e14fb7

Browse files
authored
fix: Adjust "Update" icon position to match the "Realms X Position". (#927)
Addresses Issue #839
1 parent 0aab923 commit 7e14fb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/terraformersmc/modmenu/gui/widget/ModMenuButtonWidget.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public void drawIcon(DrawContext drawContext, int mouseX, int mouseY, float delt
2727
if (ModMenuConfig.BUTTON_UPDATE_BADGE.getValue() && ModMenu.areModUpdatesAvailable()) {
2828
UpdateAvailableBadge.renderBadge(
2929
drawContext,
30-
this.width + this.getX() - 16, // 1.21.8
31-
// this.width + this.getX() - 13, // Matches Realms Position
30+
// this.width + this.getX() - 16, // 1.21.8
31+
this.width + this.getX() - 13, // Matches Realms Position
3232
this.height / 2 + this.getY() - 4
3333
);
3434
}

0 commit comments

Comments
 (0)