aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-06-11 00:33:38 +0200
committernea <nea@nea.moe>2023-06-11 00:33:38 +0200
commit040f7c7275568d783bfa5e4ed20412f72d126549 (patch)
treec42a1c1a0d89c2b6791b207bd70b8b04f85fe11a /src/main/kotlin/moe
parentcd4c6e2102ab5fa9d666abf5fa5bdd9538513f18 (diff)
downloadfirmament-040f7c7275568d783bfa5e4ed20412f72d126549.tar.gz
firmament-040f7c7275568d783bfa5e4ed20412f72d126549.tar.bz2
firmament-040f7c7275568d783bfa5e4ed20412f72d126549.zip
Fix item stack sizes overlapping tooltips
Diffstat (limited to 'src/main/kotlin/moe')
-rw-r--r--src/main/kotlin/moe/nea/firmament/rei/NEUItemEntryRenderer.kt3
1 files changed, 0 insertions, 3 deletions
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<SBItemStack> {
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<SBItemStack>, tooltipContext: TooltipContext): Tooltip? {