Skip to content

Commit

Permalink
Fix #4760
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Apr 9, 2024
1 parent cd6a777 commit ed56591
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void onDrawGui(ZRenderContainerScreen.Background event) {
guiGraphics.renderItemDecorations(mc.font, drawStack, x, y);

if(index > 0)
guiGraphics.drawString(mc.font, "<", x - 6, y + 4, 0x3f3f3f);
guiGraphics.drawString(mc.font, "<", x - 6, y + 4, 0x3f3f3f, false);
}
}

Expand All @@ -163,7 +163,7 @@ public void onDrawGui(ZRenderContainerScreen.Background event) {
GhostIngredient ingr = pair.getRight();
if(ingr != null)
//TODO: Don't use TopLayerTooltipHandler, it's hacky. But just calling GuiGraphics.renderTooltip from here has Z-ordering issues.
QuarkClient.ZETA_CLIENT.topLayerTooltipHandler.setTooltip(List.of(I18n.get("quark.misc.rightclick_to_craft")), event.getMouseX(), event.getMouseY() - 15);
QuarkClient.ZETA_CLIENT.topLayerTooltipHandler.setTooltip(List.of(I18n.get("quark.misc.rightclick_to_craft")), event.getMouseX(), event.getMouseY() - 17);
}
}
}
Expand Down

0 comments on commit ed56591

Please sign in to comment.