mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 14:34:33 +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
@@ -45,7 +45,7 @@ public class AnalystPageGenome extends ControlAnalystPage {
|
||||
for (final IChromosomeType chromo : system.getActiveKaryotype()) {
|
||||
final IAllele allele = active ? ind.getGenome().getActiveAllele(chromo) : ind.getGenome().getInactiveAllele(chromo);
|
||||
final String alleleName = system.getAlleleName(chromo, allele);
|
||||
final float height = CraftGUI.Render.textHeight(alleleName, this.w() / 2.0f - 2.0f);
|
||||
final float height = CraftGUI.render.textHeight(alleleName, this.w() / 2.0f - 2.0f);
|
||||
new ControlText(scaled, new IArea(0.0f, y + (height - 9.0f) / 2.0f, this.w() / 2.0f - 2.0f, 0.0f), system.getChromosomeShortName(chromo) + " :", TextJustification.TopRight).setColour(this.getColour());
|
||||
new ControlText(scaled, new IArea(this.w() / 2.0f + 2.0f, y, this.w() / 2.0f - 2.0f, 0.0f), alleleName, TextJustification.TopLeft).setColour(this.getColour());
|
||||
y += (int) (3.0f + height);
|
||||
|
||||
Reference in new issue
Block a user