sort in SWME, so screens that don't add any screen elements don't have to
This commit is contained in:
@@ -130,6 +130,8 @@ void ScreenWithMenuElements::Init()
|
|||||||
m_Cancel.SetDrawOrder( DRAW_ORDER_TRANSITIONS );
|
m_Cancel.SetDrawOrder( DRAW_ORDER_TRANSITIONS );
|
||||||
this->AddChild( &m_Cancel );
|
this->AddChild( &m_Cancel );
|
||||||
|
|
||||||
|
this->SortByDrawOrder();
|
||||||
|
|
||||||
m_In.StartTransitioning( SM_DoneFadingIn );
|
m_In.StartTransitioning( SM_DoneFadingIn );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user