fix hiding balloons when switching to a section header
This commit is contained in:
@@ -842,6 +842,13 @@ void ScreenSelectMusic::AfterMusicChange()
|
|||||||
no_banner_change = true;
|
no_banner_change = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_sprMarathonBalloon.StopTweening();
|
||||||
|
m_sprMarathonBalloon.BeginTweening( 0.2f );
|
||||||
|
m_sprMarathonBalloon.SetTweenZoomY( 0 );
|
||||||
|
m_sprLongBalloon.StopTweening();
|
||||||
|
m_sprLongBalloon.BeginTweening( 0.2f );
|
||||||
|
m_sprLongBalloon.SetTweenZoomY( 0 );
|
||||||
|
|
||||||
switch( m_MusicWheel.GetSelectedType() )
|
switch( m_MusicWheel.GetSelectedType() )
|
||||||
{
|
{
|
||||||
case TYPE_SECTION:
|
case TYPE_SECTION:
|
||||||
@@ -898,13 +905,6 @@ void ScreenSelectMusic::AfterMusicChange()
|
|||||||
m_iSelection[p] = clamp( m_iSelection[p], 0, int(m_arrayNotes[p].size()) ) ;
|
m_iSelection[p] = clamp( m_iSelection[p], 0, int(m_arrayNotes[p].size()) ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_sprMarathonBalloon.StopTweening();
|
|
||||||
m_sprMarathonBalloon.BeginTweening( 0.2f );
|
|
||||||
m_sprMarathonBalloon.SetTweenZoomY( 0 );
|
|
||||||
m_sprLongBalloon.StopTweening();
|
|
||||||
m_sprLongBalloon.BeginTweening( 0.2f );
|
|
||||||
m_sprLongBalloon.SetTweenZoomY( 0 );
|
|
||||||
|
|
||||||
/* Short delay before actually showing these, so they don't show
|
/* Short delay before actually showing these, so they don't show
|
||||||
* up when scrolling fast. It'll still show up in "slow" scrolling,
|
* up when scrolling fast. It'll still show up in "slow" scrolling,
|
||||||
* but it doesn't look at weird as it does in "fast", and I don't
|
* but it doesn't look at weird as it does in "fast", and I don't
|
||||||
|
|||||||
Reference in New Issue
Block a user