mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
Gui rendering cleanup
This commit is contained in:
1 parent
17f036522e
commit
31a305ffc2
173 files changed
+1317
-1349
No files matched your search
@@ -211,8 +211,8 @@ public abstract class AnalystPageProduce extends ControlAnalystPage {
|
||||
protected int getRefined(final String string, int y, final Collection<ItemStack> products) {
|
||||
new ControlTextCentered(this, y, string).setColour(this.getColour());
|
||||
y += 10;
|
||||
final int maxBiomePerLine = (int) ((this.w() + 2.0f - 16.0f) / 18.0f);
|
||||
final float biomeListX = (this.w() - (Math.min(maxBiomePerLine, products.size()) * 18 - 2)) / 2.0f;
|
||||
final int maxBiomePerLine = (this.w() + 2 - 16) / 18;
|
||||
final int biomeListX = (this.w() - (Math.min(maxBiomePerLine, products.size()) * 18 - 2)) / 2;
|
||||
int dx = 0;
|
||||
int dy = 0;
|
||||
for (final ItemStack soilStack : products) {
|
||||
|
||||
Reference in new issue
Block a user