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