diff options
author | Linnea Gräf <nea@nea.moe> | 2024-01-05 03:44:43 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-01-05 03:44:43 +0100 |
commit | 4a9108ad5c1274eb24c0ae274817a2bb57995527 (patch) | |
tree | 233e0122c0f906e914a047a7d928f38682072638 | |
parent | 85ca2b181ce9d004da49c7806f6272cfbc2045bf (diff) | |
download | Iceberg-4a9108ad5c1274eb24c0ae274817a2bb57995527.tar.gz Iceberg-4a9108ad5c1274eb24c0ae274817a2bb57995527.tar.bz2 Iceberg-4a9108ad5c1274eb24c0ae274817a2bb57995527.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.java | 2 |
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; |