Skip to content

Commit

Permalink
The end is never the end
Browse files Browse the repository at this point in the history
  • Loading branch information
brentmaas committed Dec 10, 2021
1 parent e6cd192 commit 302d5b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partia
String newShapeName = new TranslationTextComponent(ShapeRegistry.getTranslationKeys().get(newShapeId)).getString();
font.drawStringWithShadow(matrixStack, newShapeName, 20 + (100 - font.getStringWidth(newShapeName)) / 2, 30, 0xFFFFFF);

font.drawStringWithShadow(matrixStack, titleVisible, (120 - font.getStringWidth(titleVisible)) / 2, 70, StateManager.getState().isShapeAvailable() ? 0xFFFFFF : 0x444444);
font.drawStringWithShadow(matrixStack, titleVisible, 5, 70, StateManager.getState().isShapeAvailable() ? 0xFFFFFF : 0x444444);

font.drawStringWithShadow(matrixStack, "X", 5, 150, 0xFFFFFF);
font.drawStringWithShadow(matrixStack, "Y", 5, 170, 0xFFFFFF);
Expand Down

0 comments on commit 302d5b0

Please sign in to comment.