This commit is contained in:
Anuken
2020-11-16 17:41:42 -05:00
parent 242109f34e
commit 3b609f698a
3 changed files with 15 additions and 1 deletions

View File

@@ -485,6 +485,10 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
hoverLabel.remove();
}
if(launching && selected != null){
lookAt(selected, 0.1f);
}
if(showing()){
Sector to = newPresets.peek();

View File

@@ -174,7 +174,7 @@ public class UnitFactory extends UnitBlock{
i.setScaling(Scaling.fit);
i.setColor(currentPlan == -1 ? Color.lightGray : Color.white);
}).size(32).padBottom(-4).padRight(2);
t.label(() -> currentPlan == -1 ? "@none" : plans.get(currentPlan).unit.localizedName).color(Color.lightGray);
t.label(() -> currentPlan == -1 ? "@none" : plans.get(currentPlan).unit.localizedName).wrap().width(230f).color(Color.lightGray);
}).left();
}