mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 11:29:23 +00:00
Improve fluid rendering
This commit is contained in:
1 parent
f0d8d6b89d
commit
87cf7386c6
83 files changed
+351
-306
No files matched your search
@@ -41,9 +41,9 @@ public abstract class ControlSlotBase extends Control implements ITooltip {
|
||||
@Override
|
||||
public void onRenderBackground() {
|
||||
final int size = (int) this.getSize().x();
|
||||
CraftGUI.Render.texture(CraftGUITexture.Slot, this.getArea());
|
||||
CraftGUI.render.texture(CraftGUITexture.Slot, this.getArea());
|
||||
if (this.getSuperParent().getMousedOverWidget() == this) {
|
||||
CraftGUI.Render.gradientRect(new IArea(new IPoint(1.0f, 1.0f), this.getArea().size().sub(new IPoint(2.0f, 2.0f))), -2130706433, -2130706433);
|
||||
CraftGUI.render.gradientRect(new IArea(new IPoint(1.0f, 1.0f), this.getArea().size().sub(new IPoint(2.0f, 2.0f))), -2130706433, -2130706433);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user