mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fixed tooltip rendering issues (#6815)
This commit is contained in:
1 parent
cbac95de0f
commit
272ea75aab
1 file changed
+1
-1
@@ -374,7 +374,7 @@ public class GuiUtils
|
||||
else if (tooltipY + tooltipHeight + 4 > screenHeight)
|
||||
tooltipY = screenHeight - tooltipHeight - 4;
|
||||
|
||||
final int zLevel = 300;
|
||||
final int zLevel = 400;
|
||||
RenderTooltipEvent.Color colorEvent = new RenderTooltipEvent.Color(stack, textLines, tooltipX, tooltipY, font, backgroundColor, borderColorStart, borderColorEnd);
|
||||
MinecraftForge.EVENT_BUS.post(colorEvent);
|
||||
backgroundColor = colorEvent.getBackground();
|
||||
|
||||
Reference in new issue
Block a user