Skip to content

Commit c5905e7

Browse files
ModalButton: Adjust height and shadow color
1 parent 2d58b9f commit c5905e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/gg/essential/ad/modal/ModalButton.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public ModalButton(int x, int y, int width, int height, ButtonColor color, Strin
2626
}
2727

2828
public ModalButton(int x, int y, int width, ButtonColor color, String text, Runnable onClick) {
29-
this(x, y, width, 20, color, text, onClick);
29+
this(x, y, width, 19, color, text, onClick);
3030
}
3131

3232
public void draw(Draw draw) {
@@ -41,7 +41,7 @@ public void draw(Draw draw) {
4141

4242
if (!text.isEmpty()) {
4343
int textX = x + width / 2 - Minecraft.getMinecraft().fontRenderer.getStringWidth(text) / 2;
44-
draw.string(text, textX, y + 6, 0xFFE5E5E5, 0x181818);
44+
draw.string(text, textX, y + 6, 0xFFE5E5E5, 0xFF000000);
4545
}
4646

4747
if (tooltip != null && !tooltip.isEmpty() && hovered) {

0 commit comments

Comments
 (0)