mirror of
https://github.com/yawaflua/Informatis.git
synced 2026-02-04 18:34:19 +02:00
cleaner
This commit is contained in:
@@ -423,12 +423,15 @@ public class HudUi {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
Table table = (Table)((Group)((Group)((Group)ui.hudGroup.getChildren().get(5)) //HudFragment#118, name: overlaymarker
|
Table waveTable = (Table)((Group)((Group)ui.hudGroup.getChildren().get(5)) //HudFragment#118, name: overlaymarker
|
||||||
.getChildren().get(mobile ? 2 : 0)) //HudFragment#192, name: wave/editor
|
.getChildren().get(mobile ? 2 : 0)) //HudFragment#192, name: wave/editor
|
||||||
.getChildren().get(0)) //HudFragment#196, name: waves
|
.getChildren().get(0); //HudFragment#196, name: waves
|
||||||
.getChildren().get(0); //HudFragment#200 -> HudFragment#590, name: status
|
Table table = (Table)waveTable.getChildren().get(0); //HudFragment#198, name: x
|
||||||
|
Table statusTable = (Table) waveTable.getChildren().get(1);
|
||||||
|
waveTable.removeChild(statusTable);
|
||||||
table.row();
|
table.row();
|
||||||
table.add(waveInfoTable);
|
statusTable.top();
|
||||||
|
table.stack(waveInfoTable, statusTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addTable(){
|
public void addTable(){
|
||||||
@@ -855,7 +858,7 @@ public class HudUi {
|
|||||||
});
|
});
|
||||||
t.row();
|
t.row();
|
||||||
t.table(tt -> {
|
t.table(tt -> {
|
||||||
tt.defaults().width(Scl.scl(modUiScale) * 23 * 8f).height(Scl.scl(modUiScale) * 4f * 8f).top();
|
tt.defaults().height(Scl.scl(modUiScale) * 4f * 8f).pad(0,4,0,4).top();
|
||||||
for(Element bar : bars){
|
for(Element bar : bars){
|
||||||
bar.setScale(Scl.scl(modUiScale));
|
bar.setScale(Scl.scl(modUiScale));
|
||||||
tt.add(bar).growX().left();
|
tt.add(bar).growX().left();
|
||||||
|
|||||||
Reference in New Issue
Block a user