Skip to content

Commit 3ddd497

Browse files
sakura-ryokogniftygnome
authored andcommitted
fix: Adjust "Update" icon position to match the "Realms X Position". (#927)
Addresses Issue #839
1 parent 31f8421 commit 3ddd497

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
@@ -28,8 +28,8 @@ public void renderWidget(DrawContext drawContext, int mouseX, int mouseY, float
2828
if (ModMenuConfig.BUTTON_UPDATE_BADGE.getValue() && ModMenu.areModUpdatesAvailable()) {
2929
UpdateAvailableBadge.renderBadge(
3030
drawContext,
31-
this.width + this.getX() - 16, // 1.21.8
32-
// this.width + this.getX() - 13, // Matches Realms Position
31+
// this.width + this.getX() - 16, // 1.21.8
32+
this.width + this.getX() - 13, // Matches Realms Position
3333
this.height / 2 + this.getY() - 4
3434
);
3535
}

0 commit comments

Comments
 (0)