From 0a22e8455572cc0cd90385e1d208a11a7ad4b86e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 22 Apr 2003 21:58:18 +0000 Subject: [PATCH] Explicitly set the cropping size (will be making CroppedSprite not crop by default, since the dimensions are arbitrary) --- stepmania/src/ScrollingList.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/ScrollingList.cpp b/stepmania/src/ScrollingList.cpp index bc9d2f966e..516c86ae93 100644 --- a/stepmania/src/ScrollingList.cpp +++ b/stepmania/src/ScrollingList.cpp @@ -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 );