Merge branches 'master' and 'save-preview' of https://github.com/Anuken/Mindustry into save-preview

This commit is contained in:
Anuken
2019-08-30 15:01:48 -04:00
2 changed files with 3 additions and 15 deletions

View File

@@ -86,6 +86,7 @@ public class DeployDialog extends FloatingDialog{
Stack sub = new Stack();
if(control.saves.getZoneSlot().getZone() != null){
sub.add(new Table(f -> f.margin(4f).add(new Image("whiteui")).color(Color.fromGray(0.1f)).grow()));
sub.add(new Table(f -> f.margin(4f).add(new Image(control.saves.getZoneSlot().getZone().preview).setScaling(Scaling.fit)).color(Color.DARK_GRAY).grow()));
}