Explicitly set the cropping size (will be making CroppedSprite not
crop by default, since the dimensions are arbitrary)
This commit is contained in:
@@ -100,6 +100,7 @@ void ScrollingList::StartBouncing()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
m_RippleCSprite.SetCroppedSize( 100, 100 );
|
||||||
m_RippleCSprite.Load( m_apCSprites[m_iSelection]->GetTexturePath() );
|
m_RippleCSprite.Load( m_apCSprites[m_iSelection]->GetTexturePath() );
|
||||||
m_RippleCSprite.SetXY( m_apCSprites[m_iSelection]->GetX(), m_apCSprites[m_iSelection]->GetY() );
|
m_RippleCSprite.SetXY( m_apCSprites[m_iSelection]->GetX(), m_apCSprites[m_iSelection]->GetY() );
|
||||||
m_RippleCSprite.SetZoom( 2.0f );
|
m_RippleCSprite.SetZoom( 2.0f );
|
||||||
|
|||||||
Reference in New Issue
Block a user