Clean Up Point Code

This commit is contained in:
Nedelosk committed 2017-08-01 12:16:01 +02:00
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);