Skip to content

Commit

Permalink
Improve the cycle tier overrides button texture, fix text with bad sh…
Browse files Browse the repository at this point in the history
…adow

Signed-off-by: Noaaan <noaaan@hotmail.com>
  • Loading branch information
Noaaan committed Jul 10, 2023
1 parent 19675ab commit 8c2b9c7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ public void render(DrawContext context, int mouseX, int mouseY, float delta) {
int xOff = TextWidget.Alignment.START.offset(CLIENT.textRenderer.getWidth(text));
int yOff = TextWidget.Alignment.START.offset(CLIENT.textRenderer.fontHeight);
matrices.translate(xOff, yOff, 300);
if (shadow) {
context.drawTextWithShadow(CLIENT.textRenderer, text, x, y, color);
} else {
context.drawTextWithShadow(CLIENT.textRenderer, text, x, y, color);
}
context.drawText(CLIENT.textRenderer, text, x, y, color, shadow);
matrices.pop();
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8c2b9c7

Please sign in to comment.