item record

This commit is contained in:
sharlottes
2022-04-10 19:12:55 +09:00
parent acd9514307
commit 899baa2220
9 changed files with 201 additions and 274 deletions

View File

@@ -25,7 +25,7 @@ import static mindustry.Vars.*;
public class WaveDisplay extends WindowTable {
static Vec2 waveScrollPos = new Vec2(0, 0);
static Vec2 scrollPos = new Vec2(0, 0);
public WaveDisplay() {
super("Wave Display", Icon.waves, t -> {});
@@ -37,7 +37,7 @@ public class WaveDisplay extends WindowTable {
topBar();
table(Styles.black8, t -> {
ScrollPane pane = new OverScrollPane(rebuild(), Styles.nonePane, waveScrollPos).disableScroll(true, false);
ScrollPane pane = new OverScrollPane(rebuild(), Styles.nonePane, scrollPos).disableScroll(true, false);
t.add(pane);
Events.on(EventType.WorldLoadEvent.class, e -> {
pane.clearChildren();