From 9662f0e452a0e1ac23de3f39861d15db7db5b1cc Mon Sep 17 00:00:00 2001 From: shedaniel Date: Thu, 7 May 2020 09:18:13 +0800 Subject: Bump for 20w19a Signed-off-by: shedaniel --- src/main/java/me/shedaniel/rei/impl/widgets/ButtonWidget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/me/shedaniel/rei/impl/widgets/ButtonWidget.java') diff --git a/src/main/java/me/shedaniel/rei/impl/widgets/ButtonWidget.java b/src/main/java/me/shedaniel/rei/impl/widgets/ButtonWidget.java index fb9e44635..6eb50ec29 100644 --- a/src/main/java/me/shedaniel/rei/impl/widgets/ButtonWidget.java +++ b/src/main/java/me/shedaniel/rei/impl/widgets/ButtonWidget.java @@ -211,7 +211,7 @@ public class ButtonWidget extends Button { if (tint != null) fillGradient(matrices, x + 1, y + 1, x + width - 1, y + height - 1, tint, tint); - this.method_27534(matrices, font, getText(), x + width / 2, y + (height - 8) / 2, color); + this.drawCenteredText(matrices, font, getText(), x + width / 2, y + (height - 8) / 2, color); String tooltip = getTooltip(); if (tooltip != null) -- cgit