Fixed #3422
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user