Sleep fully uncropped lyrics for a while, so they don't disappear instantly

after they stop tweening.
This commit is contained in:
Glenn Maynard
2003-09-15 07:28:55 +00:00
parent 55bff4c518
commit fa72309aa0
+2 -1
View File
@@ -108,9 +108,10 @@ void LyricDisplay::Update( float fDeltaTime )
if( i==1 )
m_textLyrics[i].SetCropRight(1);
m_textLyrics[i].Command(IN_COMMAND);
m_textLyrics[i].BeginTweening( fShowLength ); /* sleep */
m_textLyrics[i].BeginTweening( fShowLength * 0.75f ); /* sleep */
if( i==1 )
m_textLyrics[i].SetCropRight(0);
m_textLyrics[i].BeginTweening( fShowLength * 0.25f ); /* sleep */
m_textLyrics[i].Command(OUT_COMMAND);
}