adjust player list size and stuff

This commit is contained in:
yugecin
2018-10-28 21:43:36 +01:00
parent f01728156a
commit db5299a32a
2 changed files with 31 additions and 17 deletions

View File

@@ -738,7 +738,7 @@ public class Game extends ComplexOpsuState {
for (ReplayPlayback replayPlayback : replays) {
totalHeight += replayPlayback.getHeight();
}
float ypos = (height - totalHeight) / 2 - ReplayPlayback.UNITHEIGHT;
float ypos = (height - totalHeight) / 2f - ReplayPlayback.lineHeight;
for (ReplayPlayback replayPlayback : replays) {
float h = replayPlayback.getHeight();
ypos += h;
@@ -1501,7 +1501,7 @@ public class Game extends ComplexOpsuState {
super.enter();
File replaydir = new File("d:/Users/Robin/games/osu/osr-stuff-master/xi3/");
File replaydir = new File("d:/Users/Robin/games/osu/osr-stuff-master/xi/");
if (!replaydir.exists()) {
bubNotifs.sendf(Colors.BUB_RED, "replay folder '%s' does not exist", replaydir.getAbsolutePath());
displayContainer.switchStateInstantly(songMenuState);