mainmenu: don't clear song history when revalidating (close #183)
This commit is contained in:
parent
b5df3e0424
commit
afef2e457c
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user