fix sync overlay help sticks around between stages
This commit is contained in:
@@ -67,8 +67,7 @@ void ScreenSyncOverlay::Update( float fDeltaTime )
|
||||
this->SetVisible( IsGameplay() );
|
||||
if( !IsGameplay() )
|
||||
{
|
||||
m_quad.SetDiffuseAlpha( 0 );
|
||||
m_textHelp.SetDiffuseAlpha( 0 );
|
||||
HideHelp();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -240,6 +239,13 @@ void ScreenSyncOverlay::ShowHelp()
|
||||
m_textHelp.SetDiffuseAlpha( 0 );
|
||||
}
|
||||
|
||||
void ScreenSyncOverlay::HideHelp()
|
||||
{
|
||||
m_quad.FinishTweening();
|
||||
m_textHelp.FinishTweening();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* (c) 2001-2005 Chris Danford
|
||||
* All rights reserved.
|
||||
|
||||
Reference in New Issue
Block a user