aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-01-05 03:44:43 +0100
committerLinnea Gräf <nea@nea.moe>2024-01-05 03:44:43 +0100
commit4a9108ad5c1274eb24c0ae274817a2bb57995527 (patch)
tree233e0122c0f906e914a047a7d928f38682072638
parent85ca2b181ce9d004da49c7806f6272cfbc2045bf (diff)
downloadIceberg-fix-pose-stack-tooltip-issues.tar.gz
Iceberg-fix-pose-stack-tooltip-issues.tar.bz2
Iceberg-fix-pose-stack-tooltip-issues.zip
Fix RenderTooltipEvents.POSTEXT not being affected by the PoseStackfix-pose-stack-tooltip-issues
-rw-r--r--src/main/java/com/anthonyhilyard/iceberg/mixin/GuiGraphicsMixin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/mixin/GuiGraphicsMixin.java b/src/main/java/com/anthonyhilyard/iceberg/mixin/GuiGraphicsMixin.java
index 1c34ed5..41ddb39 100644
--- a/src/main/java/com/anthonyhilyard/iceberg/mixin/GuiGraphicsMixin.java
+++ b/src/main/java/com/anthonyhilyard/iceberg/mixin/GuiGraphicsMixin.java
@@ -218,7 +218,7 @@ public class GuiGraphicsMixin
storeLocals(font, components, x, y, positioner, info, tooltipWidth, tooltipHeight, tooltipWidth2, tooltipHeight2, postPos);
}
- @Inject(method = "renderTooltipInternal", at = @At(value = "TAIL"))
+ @Inject(method = "renderTooltipInternal", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/vertex/PoseStack;popPose()V", shift = Shift.BEFORE))
private void renderTooltipInternalTail(Font font, List<ClientTooltipComponent> components, int x, int y, ClientTooltipPositioner positioner, CallbackInfo info)
{
GuiGraphics self = (GuiGraphics)(Object)this;