[OptionRow] Set text after running OnCommand
This commit is contained in:
@@ -8,6 +8,11 @@ ________________________________________________________________________________
|
||||
StepMania 5.0 alpha 3 | 20120711
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
2012/07/19
|
||||
----------
|
||||
* [OptionRow] Set text after running OnCommand so commands like "uppercase,true"
|
||||
actually have a chance to work. [AJ]
|
||||
|
||||
2012/07/17
|
||||
----------
|
||||
* [SongManager] Fix a bug where DVNO wouldn't always be gold. [AJ]
|
||||
|
||||
+3
-2
@@ -350,10 +350,11 @@ void OptionRow::InitText( RowType type )
|
||||
// init text
|
||||
BitmapText *bt = new BitmapText( m_pParentType->m_textItem );
|
||||
m_textItems.push_back( bt );
|
||||
RString sText = GetThemedItemText( c );
|
||||
bt->SetText( sText );
|
||||
bt->SetBaseZoomX( fBaseZoom );
|
||||
bt->PlayCommand( "On" );
|
||||
// Set text after running OnCommand so e.g. uppercase,true works -aj
|
||||
RString sText = GetThemedItemText( c );
|
||||
bt->SetText( sText );
|
||||
|
||||
// set the X position of each item in the line
|
||||
float fItemWidth = bt->GetZoomedWidth();
|
||||
|
||||
Reference in New Issue
Block a user