mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-23 21:49:49 +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
@@ -24,10 +24,10 @@ class ControlBreedingProgress extends Control {
|
||||
|
||||
@Override
|
||||
public void onRenderBackground() {
|
||||
CraftGUI.Render.texture(CraftGUITexture.PanelBlack, this.getArea());
|
||||
CraftGUI.render.texture(CraftGUITexture.PanelBlack, this.getArea());
|
||||
final IArea area = this.getArea().inset(1);
|
||||
area.setSize(new IPoint(area.size().x() * this.percentage, area.size().y()));
|
||||
CraftGUI.Render.colour(this.colour);
|
||||
CraftGUI.Render.texture(ControlBreedingProgress.Progress, area);
|
||||
CraftGUI.render.colour(this.colour);
|
||||
CraftGUI.render.texture(ControlBreedingProgress.Progress, area);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user