added loading message to music selection page; removed 2 bars since for some reason left and right has one extra bar on both sides at 1366x768

This commit is contained in:
Harrison Deng 2018-03-17 00:20:00 -05:00
parent c3f00fe5b6
commit f35691536b
2 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,8 @@ public class HorizontalVisualizer extends Visualizer {
pixmap = new Pixmap(2, 2, Format.RGBA8888); pixmap = new Pixmap(2, 2, Format.RGBA8888);
pixmap.setColor(Color.WHITE); pixmap.setColor(Color.WHITE);
pixmap.fill(); pixmap.fill();
barCount = 70;
barCount = 68;
width = Gdx.graphics.getWidth(); width = Gdx.graphics.getWidth();
height = Gdx.graphics.getHeight()/2f; height = Gdx.graphics.getHeight()/2f;

View File

@ -230,6 +230,7 @@ public class MusicSelectionPage extends Page implements Observer {
Gdx.app.debug("MusicSelectionPage", "Refreshing..."); Gdx.app.debug("MusicSelectionPage", "Refreshing...");
songTitle.setText("loading...", null);
musicInfoTable.add(songTitle).width(musicInfoTable.getWidth()*0.6f).spaceBottom(30f); musicInfoTable.add(songTitle).width(musicInfoTable.getWidth()*0.6f).spaceBottom(30f);
musicInfoTable.row(); musicInfoTable.row();
musicSubInfo.add(author); musicSubInfo.add(author);