Explicitly set the cropping size (will be making CroppedSprite not

crop by default, since the dimensions are arbitrary)
This commit is contained in:
Glenn Maynard
2003-04-22 21:58:18 +00:00
parent cc1089510c
commit 0a22e84555
+1
View File
@@ -100,6 +100,7 @@ void ScrollingList::StartBouncing()
}
else
{
m_RippleCSprite.SetCroppedSize( 100, 100 );
m_RippleCSprite.Load( m_apCSprites[m_iSelection]->GetTexturePath() );
m_RippleCSprite.SetXY( m_apCSprites[m_iSelection]->GetX(), m_apCSprites[m_iSelection]->GetY() );
m_RippleCSprite.SetZoom( 2.0f );