mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 11:10:29 +00:00
Merge pull request #445 from SquidDev-CC/hotfix/container-backgrounds
Fix background and tooltips not rendering within containers
This commit is contained in:
commit
5219648128
@ -43,4 +43,12 @@ public class GuiDiskDrive extends GuiContainer
|
|||||||
int i1 = (height - ySize) / 2;
|
int i1 = (height - ySize) / 2;
|
||||||
drawTexturedModalRect(l, i1, 0, 0, xSize, ySize);
|
drawTexturedModalRect(l, i1, 0, 0, xSize, ySize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void drawScreen( int mouseX, int mouseY, float partialTicks)
|
||||||
|
{
|
||||||
|
drawDefaultBackground();
|
||||||
|
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||||
|
renderHoveredToolTip(mouseX, mouseY);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -51,4 +51,12 @@ public class GuiPrinter extends GuiContainer
|
|||||||
drawTexturedModalRect(startX + 34, startY + 21, 176, 0, 25, 45);
|
drawTexturedModalRect(startX + 34, startY + 21, 176, 0, 25, 45);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void drawScreen( int mouseX, int mouseY, float partialTicks)
|
||||||
|
{
|
||||||
|
drawDefaultBackground();
|
||||||
|
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||||
|
renderHoveredToolTip(mouseX, mouseY);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -155,4 +155,12 @@ public class GuiTurtle extends GuiContainer
|
|||||||
|
|
||||||
drawSelectionSlot( advanced );
|
drawSelectionSlot( advanced );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void drawScreen( int mouseX, int mouseY, float partialTicks)
|
||||||
|
{
|
||||||
|
drawDefaultBackground();
|
||||||
|
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||||
|
renderHoveredToolTip(mouseX, mouseY);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user