mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-24 05:54:47 +00:00
Clean Up and move guis
This commit is contained in:
1 parent
490feb915f
commit
c93a79887f
76 files changed
+361
-360
No files matched your search
@@ -20,8 +20,8 @@ public class AnalystPageKaryogram extends ControlAnalystPage {
|
||||
y += 8;
|
||||
final ISpeciesRoot root = AlleleManager.alleleRegistry.getSpeciesRoot(ind);
|
||||
final BreedingSystem system = Binnie.GENETICS.getSystem(root);
|
||||
final int maxBiomePerLine = (int) ((this.w() + 4.0f - 16.0f) / 22.0f);
|
||||
int karygramX = (this.w() - (Math.min(maxBiomePerLine, system.getActiveKaryotype().size()) * 18 - 4)) / 2;
|
||||
final int maxBiomePerLine = (int) ((this.width() + 4.0f - 16.0f) / 22.0f);
|
||||
int karygramX = (this.width() - (Math.min(maxBiomePerLine, system.getActiveKaryotype().size()) * 18 - 4)) / 2;
|
||||
int dx = 0;
|
||||
int dy = 0;
|
||||
int rem = system.getActiveKaryotype().size();
|
||||
|
||||
Reference in new issue
Block a user