Skip to content

Commit a03ac59

Browse files
committed
Clean up #927
* Resolves #839 - Make "Update" icon y match Realms icon * Remove commented old code
1 parent 7e14fb7 commit a03ac59

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
@@ -27,9 +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
32-
this.height / 2 + this.getY() - 4
30+
this.width + this.getX() - 13,
31+
this.height / 2 + this.getY() - 5
3332
);
3433
}
3534
}

0 commit comments

Comments
 (0)