mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 20:22:35 +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
@@ -21,7 +21,7 @@ public class AnalystPageKaryogram extends ControlAnalystPage {
|
||||
final ISpeciesRoot root = AlleleManager.alleleRegistry.getSpeciesRoot(ind.getClass());
|
||||
final BreedingSystem system = Binnie.GENETICS.getSystem(root);
|
||||
final int maxBiomePerLine = (int) ((this.w() + 4.0f - 16.0f) / 22.0f);
|
||||
float karygramX = (this.w() - (Math.min(maxBiomePerLine, system.getActiveKaryotype().size()) * 18 - 4)) / 2.0f;
|
||||
int karygramX = (this.w() - (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