small cleanup
This commit is contained in:
@@ -24,7 +24,7 @@ OptionsCursor::OptionsCursor( const OptionsCursor &cpy ):
|
||||
m_iOriginalCanGoLeftX( cpy.m_iOriginalCanGoLeftX ),
|
||||
m_iOriginalCanGoRightX( cpy.m_iOriginalCanGoRightX )
|
||||
{
|
||||
/* Re-add children, or m_SubActors will point to cpy's children and not our own. */
|
||||
// Re-add children, or m_SubActors will point to cpy's children and not our own.
|
||||
m_SubActors.clear();
|
||||
this->AddChild( m_sprMiddle );
|
||||
this->AddChild( m_sprLeft );
|
||||
|
||||
+2
-2
@@ -28,11 +28,11 @@ protected:
|
||||
AutoActor m_sprMiddle;
|
||||
AutoActor m_sprLeft;
|
||||
AutoActor m_sprRight;
|
||||
|
||||
|
||||
AutoActor m_sprCanGoLeft;
|
||||
AutoActor m_sprCanGoRight;
|
||||
|
||||
// save the metrics-set X because it gets oblitterated on a call to SetBarWidth
|
||||
// save the metrics-set X because it gets obliterated on a call to SetBarWidth
|
||||
int m_iOriginalLeftX;
|
||||
int m_iOriginalRightX;
|
||||
int m_iOriginalCanGoLeftX;
|
||||
|
||||
Reference in New Issue
Block a user