File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,17 @@ void SongControlMenu::checkDaSongPositions(float) {
247247 if (!this ->m_currTimeLb || !this ->m_totlTimeLb || !this ->m_currProgBar || !this ->m_darkProgBar ) return ;
248248
249249 SongManager& songManager = SongManager::get ();
250- if (!songManager.getFinishedCalculatingSongLengths ()) return ;
250+ const bool finished = songManager.getFinishedCalculatingSongLengths ();
251+
252+ this ->m_currTimeLb ->setVisible (finished);
253+ this ->m_totlTimeLb ->setVisible (finished);
254+ this ->m_currProgBar ->setVisible (finished);
255+ this ->m_darkProgBar ->setVisible (finished);
256+ if (this ->m_increDecreMenu ) this ->m_increDecreMenu ->setVisible (finished);
257+ if (this ->m_clipNode ) this ->m_clipNode ->setVisible (finished);
258+ if (this ->m_smallLabel ) this ->m_smallLabel ->setPositionY (finished ? 18 .5f : 15 .f );
259+
260+ if (!finished) return ;
251261
252262 FMODAudioEngine* fmod = FMODAudioEngine::get ();
253263 const std::string& currSong = songManager.getCurrentSong ();
You can’t perform that action at this time.
0 commit comments