Skip to content

Commit 5b47fac

Browse files
committed
Clean up #927
* Resolves #839 - Make "Update" icon y match Realms icon * Remove commented old code
1 parent 3ddd497 commit 5b47fac

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +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
33-
this.height / 2 + this.getY() - 4
31+
this.width + this.getX() - 13,
32+
this.height / 2 + this.getY() - 5
3433
);
3534
}
3635
}

0 commit comments

Comments
 (0)