From 78186ecd62bb6343d4394dc95df1e79054a67998 Mon Sep 17 00:00:00 2001 From: buthed010203 Date: Mon, 30 Aug 2021 12:38:11 -0400 Subject: [PATCH] fixes --- assets/mod.json | 2 +- src/UnitInfo/core/HudUi.java | 3 +-- src/UnitInfo/core/Main.java | 24 +----------------------- 3 files changed, 3 insertions(+), 26 deletions(-) diff --git a/assets/mod.json b/assets/mod.json index 1e3008b..12d342f 100644 --- a/assets/mod.json +++ b/assets/mod.json @@ -1,6 +1,6 @@ { "name": "unitinfo", - "displayName": "Unit Infomation", + "displayName": "Unit Information", "author": "Sharlotte", "description": "The mod displays more information in-game, such as unit/building, wave, core, tile, item/unit total info etc", "version": "1.3.4.2", diff --git a/src/UnitInfo/core/HudUi.java b/src/UnitInfo/core/HudUi.java index 661dc69..422de6c 100644 --- a/src/UnitInfo/core/HudUi.java +++ b/src/UnitInfo/core/HudUi.java @@ -236,8 +236,7 @@ public class HudUi { Table statusTable = (Table)waveTable.getChildren().get(1); // TODO: Use scene.find("statustable") when https://github.com/Anuken/Mindustry/pull/5904 is merged waveTable.removeChild(statusTable); table.row(); - - table.stack(waveInfoTable, statusTable.top(), pathlineTable); + table.stack(waveInfoTable, statusTable.top(), pathlineTable).fillX().colspan(table.getColumns()); } public void reset(int index, Seq