Fix database doesn't show species name
Fix layout of breeder page
This commit is contained in:
kordum committed 2017-08-05 11:28:21 +03:00
1 parent cf518d19fb
commit 3de24b0647
3 files changed
+4 -7

No files matched your search

@@ -93,11 +93,8 @@ public class ControlDatabaseIndividualDisplay extends ControlItemDisplay impleme
switch (discovered) {
case SHOW:
tooltip.add(species.getName());
break;
case DISCOVERED:
tooltip.add(I18N.localise("binniecore.gui.database.discovered.discovered"));
tooltip.add(species.getName());
break;
case UNDISCOVERED:
@@ -31,11 +31,11 @@ public class PageBreeder extends ControlPage<DatabaseTab> {
);
new ControlTextCentered(this, 75.0f, I18N.localise("binniecore.gui.database.species.count", system.discoveredSpeciesCount, system.totalSpeciesCount));
new ControlBreedingProgress(this, 20, 87, 102, 14, system, system.discoveredSpeciesPercentage);
new ControlTextCentered(this, 75.0f, I18N.localise("binniecore.gui.database.branch.count", system.discoveredBranchCount, system.totalBranchCount));
new ControlTextCentered(this, 115.0f, I18N.localise("binniecore.gui.database.branch.count", system.discoveredBranchCount, system.totalBranchCount));
new ControlBreedingProgress(this, 20, 127, 102, 14, system, system.discoveredBranchPercentage);
if (system.discoveredSecretCount > 0) {
new ControlTextCentered(this, 75.0f, I18N.localise("binniecore.gui.database.species.secretCount", system.discoveredSecretCount, system.totalSecretCount));
new ControlTextCentered(this, 155.0f, I18N.localise("binniecore.gui.database.species.secretCount", system.discoveredSecretCount, system.totalSecretCount));
}
new ControlTextCentered(this, 32.0f, player.getName());