From e89b93ba21e8162d3ed086559a46051c65b8a948 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 30 Jan 2006 08:01:54 +0000 Subject: [PATCH] fix 0 tween length causing editor options menus to flicker at y = 0 for one frame --- stepmania/src/OptionRow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index f67bdaa975..420e61032b 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -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; }