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