From f35691536b34f3e80d57df80cbfd191fbb26b382 Mon Sep 17 00:00:00 2001 From: Recrown Date: Sat, 17 Mar 2018 00:20:00 -0500 Subject: [PATCH] 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 --- .../desktop/audio/visualizer/HorizontalVisualizer.java | 3 ++- .../desktop/graphics/ui/pages/MusicSelectionPage.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/src/zero1hd/rhythmbullet/desktop/audio/visualizer/HorizontalVisualizer.java b/desktop/src/zero1hd/rhythmbullet/desktop/audio/visualizer/HorizontalVisualizer.java index 72977a1..009dd3b 100755 --- a/desktop/src/zero1hd/rhythmbullet/desktop/audio/visualizer/HorizontalVisualizer.java +++ b/desktop/src/zero1hd/rhythmbullet/desktop/audio/visualizer/HorizontalVisualizer.java @@ -40,7 +40,8 @@ public class HorizontalVisualizer extends Visualizer { pixmap = new Pixmap(2, 2, Format.RGBA8888); pixmap.setColor(Color.WHITE); pixmap.fill(); - barCount = 70; + + barCount = 68; width = Gdx.graphics.getWidth(); height = Gdx.graphics.getHeight()/2f; diff --git a/desktop/src/zero1hd/rhythmbullet/desktop/graphics/ui/pages/MusicSelectionPage.java b/desktop/src/zero1hd/rhythmbullet/desktop/graphics/ui/pages/MusicSelectionPage.java index bf1e34d..d953824 100755 --- a/desktop/src/zero1hd/rhythmbullet/desktop/graphics/ui/pages/MusicSelectionPage.java +++ b/desktop/src/zero1hd/rhythmbullet/desktop/graphics/ui/pages/MusicSelectionPage.java @@ -230,6 +230,7 @@ public class MusicSelectionPage extends Page implements Observer { Gdx.app.debug("MusicSelectionPage", "Refreshing..."); + songTitle.setText("loading...", null); musicInfoTable.add(songTitle).width(musicInfoTable.getWidth()*0.6f).spaceBottom(30f); musicInfoTable.row(); musicSubInfo.add(author);