Merge remote-tracking branch 'origin/master'
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 4.6 KiB |
@@ -401,6 +401,8 @@ waves.sort.reverse = Reverse Sort
|
|||||||
waves.sort.begin = Begin
|
waves.sort.begin = Begin
|
||||||
waves.sort.health = Health
|
waves.sort.health = Health
|
||||||
waves.sort.type = Type
|
waves.sort.type = Type
|
||||||
|
waves.units.hide = Hide All
|
||||||
|
waves.units.show = Show All
|
||||||
|
|
||||||
#these are intentionally in lower case
|
#these are intentionally in lower case
|
||||||
wavemode.counts = counts
|
wavemode.counts = counts
|
||||||
|
|||||||
@@ -181,6 +181,17 @@ public class WaveGraph extends Table{
|
|||||||
|
|
||||||
colors.clear();
|
colors.clear();
|
||||||
colors.left();
|
colors.left();
|
||||||
|
colors.button("@waves.units.hide", Styles.cleart, () -> {
|
||||||
|
if(hidden.size == usedCopy.size){
|
||||||
|
hidden.clear();
|
||||||
|
}else{
|
||||||
|
hidden.addAll(usedCopy);
|
||||||
|
}
|
||||||
|
|
||||||
|
used.clear();
|
||||||
|
used.addAll(usedCopy);
|
||||||
|
for(UnitType o : hidden) used.remove(o);
|
||||||
|
}).update(b -> b.setText(hidden.size == usedCopy.size ? "@waves.units.show" : "@waves.units.hide")).height(32f).width(130f);
|
||||||
colors.pane(t -> {
|
colors.pane(t -> {
|
||||||
t.left();
|
t.left();
|
||||||
for(UnitType type : used){
|
for(UnitType type : used){
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public class DatabaseDialog extends BaseDialog{
|
|||||||
cont.table(s -> {
|
cont.table(s -> {
|
||||||
s.image(Icon.zoom).padRight(8);
|
s.image(Icon.zoom).padRight(8);
|
||||||
search = s.field(null, text -> rebuild()).growX().get();
|
search = s.field(null, text -> rebuild()).growX().get();
|
||||||
search.setMessageText(Core.bundle.get("players.search"));
|
search.setMessageText("@players.search");
|
||||||
}).fillX().padBottom(4).row();
|
}).fillX().padBottom(4).row();
|
||||||
|
|
||||||
cont.pane(all);
|
cont.pane(all);
|
||||||
|
|||||||
Reference in New Issue
Block a user