half-finished codes, options icons, and two new modifiers.
This commit is contained in:
@@ -19,9 +19,9 @@
|
||||
|
||||
OptionsCursor::OptionsCursor()
|
||||
{
|
||||
this->AddSubActor( &m_sprMiddle );
|
||||
this->AddSubActor( &m_sprLeft );
|
||||
this->AddSubActor( &m_sprRight );
|
||||
this->AddChild( &m_sprMiddle );
|
||||
this->AddChild( &m_sprLeft );
|
||||
this->AddChild( &m_sprRight );
|
||||
}
|
||||
|
||||
void OptionsCursor::Load( PlayerNumber pn, bool bUnderline )
|
||||
@@ -65,6 +65,10 @@ void OptionsCursor::TweenBarWidth( int iNewWidth, float fTweenTime )
|
||||
iNewWidth++; // round up to nearest even number
|
||||
float fFrameWidth = m_sprLeft.GetUnzoomedWidth();
|
||||
|
||||
m_sprLeft.StopTweening();
|
||||
m_sprMiddle.StopTweening();
|
||||
m_sprRight.StopTweening();
|
||||
|
||||
m_sprLeft.BeginTweening( fTweenTime );
|
||||
m_sprMiddle.BeginTweening( fTweenTime );
|
||||
m_sprRight.BeginTweening( fTweenTime );
|
||||
|
||||
Reference in New Issue
Block a user