fix 0 tween length causing editor options menus to flicker

at y = 0 for one frame
This commit is contained in:
Glenn Maynard
2006-01-30 08:01:54 +00:00
parent f8d8abfb41
commit e89b93ba21
+2 -1
View File
@@ -571,7 +571,8 @@ void OptionRow::UpdateEnabledDisabled()
if( m_Frame.DestTweenState() != m_tsDestination )
{
m_Frame.StopTweening();
m_Frame.BeginTweening( m_pParentType->TWEEN_SECONDS );
if( m_pParentType->TWEEN_SECONDS != 0 )
m_Frame.BeginTweening( m_pParentType->TWEEN_SECONDS );
m_Frame.DestTweenState() = m_tsDestination;
}