main menu layout changes

Slighty changed black bars height
Put now playing text near the controls
Changed amount of beatmaps available sentence
This commit is contained in:
yugecin
2018-06-25 23:28:30 +02:00
parent c356d75def
commit 11fd501a1e
3 changed files with 15 additions and 12 deletions

View File

@@ -561,10 +561,8 @@ public class SongMenu extends ComplexOpsuState {
footerLogoButton.draw(Color.white, 1f - expand);
Image ghostLogo = GameImage.MENU_LOGO.getImage();
ghostLogo = ghostLogo.getScaledCopy((1f + expand) * footerLogoSize / ghostLogo.getWidth());
float oldGhostAlpha = Colors.GHOST_LOGO.a;
Colors.GHOST_LOGO.a *= (1f - position);
ghostLogo.drawCentered(footerLogoButton.getX(), footerLogoButton.getY(), Colors.GHOST_LOGO);
Colors.GHOST_LOGO.a = oldGhostAlpha;
ghostLogo.setAlpha(0.25f * (1f - position));
ghostLogo.drawCentered(footerLogoButton.getX(), footerLogoButton.getY());
}
// header