mainmenu: don't clear song history when revalidating (close #183)

This commit is contained in:
yugecin 2018-08-27 21:40:17 +02:00
parent b5df3e0424
commit afef2e457c

View File

@ -169,11 +169,11 @@ public class MainMenu extends BaseOpsuState {
} }
this.buttonPositions = new ImagePosition[3]; this.buttonPositions = new ImagePosition[3];
this.timeFormat = new SimpleDateFormat("HH:mm"); this.timeFormat = new SimpleDateFormat("HH:mm");
this.previous = new Stack<>();
} }
@Override @Override
protected void revalidate() { protected void revalidate() {
previous = new Stack<>();
this.barHeight = height * 0.1125f; this.barHeight = height * 0.1125f;