mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 22:44:38 +00:00
Clean Up Point Code
This commit is contained in:
1 parent
5c40de2eba
commit
ab1a2eeb89
50 files changed
+174
-173
No files matched your search
@@ -44,7 +44,7 @@ public class ControlSlotFluid extends Control implements ITooltip {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void onRenderBackground(int guiWidth, int guiHeight) {
|
||||
final int size = this.getSize().x();
|
||||
final int size = this.getSize().xPos();
|
||||
CraftGUI.RENDER.texture(CraftGUITexture.Slot, this.getArea());
|
||||
if (this.getTopParent().getMousedOverWidget() == this) {
|
||||
RenderUtil.drawGradientRect(new Area(new Point(1, 1), this.getArea().size().sub(new Point(2, 2))), -2130706433, -2130706433);
|
||||
|
||||
Reference in new issue
Block a user