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},
|
discord: {font: default-font, fontColor: white, up: discord-banner},
|
||||||
info: {font: default-font, fontColor: white, up: info-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: {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},
|
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 }
|
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(){
|
void rebuild(){
|
||||||
missionTable.clear();
|
missionTable.clear();
|
||||||
if(world.getSector() != null && !world.getSector().complete){
|
missionTable.background("underline");
|
||||||
missionTable.add("[LIGHT_GRAY]" + Bundles.format("text.mission", ""));
|
if(world.getSector() != null){
|
||||||
missionTable.row();
|
|
||||||
missionTable.table(t -> {
|
|
||||||
world.getSector().currentMission().display(t);
|
|
||||||
});
|
|
||||||
missionTable.row();
|
|
||||||
missionTable.add(Bundles.format("text.sector", world.getSector().x + ", " + world.getSector().y));
|
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();
|
content().row();
|
||||||
|
|
||||||
if(!mobile){
|
if(!mobile){
|
||||||
|