From 040f7c7275568d783bfa5e4ed20412f72d126549 Mon Sep 17 00:00:00 2001 From: nea Date: Sun, 11 Jun 2023 00:33:38 +0200 Subject: Fix item stack sizes overlapping tooltips --- src/main/kotlin/moe/nea/firmament/rei/NEUItemEntryRenderer.kt | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/main/kotlin/moe/nea/firmament') diff --git a/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntryRenderer.kt b/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntryRenderer.kt index deaaeb9..7d12788 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntryRenderer.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntryRenderer.kt @@ -35,10 +35,7 @@ object NEUItemEntryRenderer : EntryRenderer { mouseY: Int, delta: Float ) { - context.matrices.push() - context.matrices.translate(0F, 0F, 100F) entry.asItemEntry().render(context, bounds, mouseX, mouseY, delta) - context.matrices.pop() } override fun getTooltip(entry: EntryStack, tooltipContext: TooltipContext): Tooltip? { -- cgit