mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 20:19:26 +02:00
fix schem quickslot
This commit is contained in:
@@ -88,7 +88,10 @@ public class HudUi {
|
||||
locked = false;
|
||||
}
|
||||
heat+=Time.delta;
|
||||
if(heat>60) schemTable.setSchemTable();
|
||||
if(heat>60) {
|
||||
heat=0;
|
||||
schemTable.setSchemTable();
|
||||
}
|
||||
|
||||
if(Scl.scl(modUiScale) != settings.getInt("infoUiScale") / 100f){
|
||||
modUiScale = settings.getInt("infoUiScale") / 100f;
|
||||
@@ -224,7 +227,8 @@ public class HudUi {
|
||||
public void addSchemTable() {
|
||||
Table table = (Table) scene.find("minimap/position");
|
||||
table.row();
|
||||
table.add(schemTable=new SchemDisplay());
|
||||
schemTable=new SchemDisplay();
|
||||
table.add(schemTable);
|
||||
}
|
||||
|
||||
public void addWaveInfoTable() {
|
||||
|
||||
@@ -55,7 +55,7 @@ public class UnitDisplay extends WindowTable implements Updatable {
|
||||
top();
|
||||
topBar();
|
||||
|
||||
//new UnitInfoDisplay().marginBottom(80f);
|
||||
//TODO: add new UnitInfoDisplay(), new WeaponDisplay();
|
||||
table(Styles.black8, t -> {
|
||||
t.table(Tex.underline2, tt -> {
|
||||
tt.stack(
|
||||
@@ -155,7 +155,6 @@ public class UnitDisplay extends WindowTable implements Updatable {
|
||||
pane.setOverscroll(false, false);
|
||||
pane.setScrollingDisabled(true, false);
|
||||
pane.setScrollYForce(scrollPos);
|
||||
//tt.add(new WeaponDisplay());
|
||||
}).top().right().grow().get().parent = null;
|
||||
resizeButton();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user