Move m_sprExplanation below m_sprBannerFrame. This should be
possible to do with draw order metrics, but we don't actually run OnCommand in here ...
This commit is contained in:
@@ -108,6 +108,11 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : ScreenWithMenuEleme
|
||||
SET_XY( m_sprBannerMask );
|
||||
this->AddChild( &m_sprBannerMask );
|
||||
|
||||
m_sprExplanation.Load( THEME->GetPathG(m_sName,"explanation") );
|
||||
m_sprExplanation->SetName( "Explanation" );
|
||||
SET_XY( m_sprExplanation );
|
||||
this->AddChild( m_sprExplanation );
|
||||
|
||||
// this is loaded SetSong and TweenToSong
|
||||
m_Banner.SetName( "Banner" );
|
||||
m_Banner.SetZTestMode( ZTEST_WRITE_ON_PASS ); // do have to pass the z test
|
||||
@@ -120,11 +125,6 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : ScreenWithMenuEleme
|
||||
SET_XY( m_sprBannerFrame );
|
||||
this->AddChild( m_sprBannerFrame );
|
||||
|
||||
m_sprExplanation.Load( THEME->GetPathG(m_sName,"explanation") );
|
||||
m_sprExplanation->SetName( "Explanation" );
|
||||
SET_XY( m_sprExplanation );
|
||||
this->AddChild( m_sprExplanation );
|
||||
|
||||
m_BPMDisplay.SetName( "BPMDisplay" );
|
||||
m_BPMDisplay.Load();
|
||||
SET_XY( m_BPMDisplay );
|
||||
|
||||
Reference in New Issue
Block a user