Removed redundant sector mission display
Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
@ -30,6 +30,7 @@ TextButtonStyle: {
|
||||
discord: {font: default-font, fontColor: white, up: discord-banner},
|
||||
info: {font: default-font, fontColor: white, up: info-banner},
|
||||
clear-partial: {down: white, up: button-select, over: flat-down, font: default-font, fontColor: white, disabledFontColor: gray },
|
||||
clear-partial-2: {down: flat-over, up: none, over: flat-over, font: default-font, fontColor: white, disabledFontColor: gray },
|
||||
empty: {font: default-font},
|
||||
toggle: {font: default-font, fontColor: white, checked: button-down, down: button-down, up: button, over: button-over, disabled: button, disabledFontColor: gray }
|
||||
},
|
||||
|
@ -29,13 +29,8 @@ public class PausedDialog extends FloatingDialog{
|
||||
|
||||
void rebuild(){
|
||||
missionTable.clear();
|
||||
if(world.getSector() != null && !world.getSector().complete){
|
||||
missionTable.add("[LIGHT_GRAY]" + Bundles.format("text.mission", ""));
|
||||
missionTable.row();
|
||||
missionTable.table(t -> {
|
||||
world.getSector().currentMission().display(t);
|
||||
});
|
||||
missionTable.row();
|
||||
missionTable.background("underline");
|
||||
if(world.getSector() != null){
|
||||
missionTable.add(Bundles.format("text.sector", world.getSector().x + ", " + world.getSector().y));
|
||||
}
|
||||
}
|
||||
@ -47,7 +42,7 @@ public class PausedDialog extends FloatingDialog{
|
||||
}
|
||||
});
|
||||
|
||||
content().table(t -> missionTable = t).colspan(mobile ? 3 : 1);
|
||||
content().table(t -> missionTable = t).colspan(mobile ? 3 : 2);
|
||||
content().row();
|
||||
|
||||
if(!mobile){
|
||||
|