blank Exit title in metrics, not with a special case

This commit is contained in:
Glenn Maynard
2006-01-14 19:01:23 +00:00
parent b4e0f5f81a
commit 8bdd24cb8a
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -630,7 +630,7 @@ Editor Options=Options
EditorShowBGChangesPlay=Show\nBackgrounds EditorShowBGChangesPlay=Show\nBackgrounds
Effect=Effect Effect=Effect
EventMode=Event Mode EventMode=Event Mode
Exit=Exit Exit=
F11/F12: Decrease/increase music offset=F11/F12: Decrease/increase music offset F11/F12: Decrease/increase music offset=F11/F12: Decrease/increase music offset
F4: Toggle assist tick=F4: Toggle assist tick F4: Toggle assist tick=F4: Toggle assist tick
F5/F6: Next/prev steps of same StepsType=F5/F6: Next/prev steps of same StepsType F5/F6: Next/prev steps of same StepsType=F5/F6: Next/prev steps of same StepsType
+3 -4
View File
@@ -396,18 +396,17 @@ void OptionRow::InitText()
m_Frame.AddChild( m_Underline[p][c] ); m_Frame.AddChild( m_Underline[p][c] );
m_Frame.SortByDrawOrder(); m_Frame.SortByDrawOrder();
switch( GetRowType() )
{
case OptionRow::RowType_Normal:
m_textTitle->SetText( GetRowTitle() ); m_textTitle->SetText( GetRowTitle() );
m_textTitle->SetX( m_pParentType->TITLE_X ); m_textTitle->SetX( m_pParentType->TITLE_X );
m_textTitle->RunCommands( m_pParentType->TITLE_ON_COMMAND ); m_textTitle->RunCommands( m_pParentType->TITLE_ON_COMMAND );
switch( GetRowType() )
{
case OptionRow::RowType_Normal:
m_sprBullet->SetX( m_pParentType->BULLET_X ); m_sprBullet->SetX( m_pParentType->BULLET_X );
m_sprBullet->RunCommands( m_pParentType->BULLET_ON_COMMAND ); m_sprBullet->RunCommands( m_pParentType->BULLET_ON_COMMAND );
break; break;
case OptionRow::RowType_Exit: case OptionRow::RowType_Exit:
m_textTitle->SetHidden( true );
m_sprBullet->SetHidden( true ); m_sprBullet->SetHidden( true );
break; break;
} }