From 59647b97f163b013b52053c615425f870a4c6454 Mon Sep 17 00:00:00 2001 From: Recrown Date: Thu, 25 May 2017 12:33:07 -0500 Subject: [PATCH] fixed creative stage update issue --- core/src/zero1hd/polyjet/ui/stages/CreativeStage.java | 1 + core/src/zero1hd/polyjet/ui/windows/FPSWindow.java | 4 +--- core/src/zero1hd/polyjet/ui/windows/MusicController.java | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/zero1hd/polyjet/ui/stages/CreativeStage.java b/core/src/zero1hd/polyjet/ui/stages/CreativeStage.java index 420253c..f9c6406 100755 --- a/core/src/zero1hd/polyjet/ui/stages/CreativeStage.java +++ b/core/src/zero1hd/polyjet/ui/stages/CreativeStage.java @@ -187,6 +187,7 @@ public class CreativeStage extends Stage implements MiniListener { if (musicPlayBackControls.getAudiofile() != null) { musicPlayBackControls.getAudiofile().readIndexUpdate(); } + super.act(delta); } @Override diff --git a/core/src/zero1hd/polyjet/ui/windows/FPSWindow.java b/core/src/zero1hd/polyjet/ui/windows/FPSWindow.java index 480b480..17ba75f 100755 --- a/core/src/zero1hd/polyjet/ui/windows/FPSWindow.java +++ b/core/src/zero1hd/polyjet/ui/windows/FPSWindow.java @@ -16,9 +16,7 @@ public class FPSWindow extends Window { super.act(delta); } }; - add(FPS).center(); - setSize(140, 70); + setSize(70, 70); } - } \ No newline at end of file diff --git a/core/src/zero1hd/polyjet/ui/windows/MusicController.java b/core/src/zero1hd/polyjet/ui/windows/MusicController.java index bbd4b1c..bb93b07 100755 --- a/core/src/zero1hd/polyjet/ui/windows/MusicController.java +++ b/core/src/zero1hd/polyjet/ui/windows/MusicController.java @@ -107,7 +107,6 @@ public class MusicController extends Window { setSize(260, 75); } - public void setAudiofile(AudioData audiofile) { this.audiofile = audiofile;