This commit is contained in:
Glenn Maynard
2006-01-16 19:37:23 +00:00
parent 4f45c103f5
commit 080d0d5042
+3 -3
View File
@@ -772,9 +772,9 @@ void OptionRow::GetWidthXY( PlayerNumber pn, int iChoiceOnRow, int &iWidthOut, i
iWidthOut = int(roundf( text.GetZoomedWidth() ));
iXOut = int(roundf( text.GetDestX() ));
/* We update m_FrameDestination, change colors and tween items, and then tween rows to
* their final positions. (This is so we don't tween colors, too.) m_FrameDestination
* is the actual destination position, even though we may not have set up the
* tween yet. */
* their final positions. (This is so we don't tween colors, too.) m_FrameDestination
* is the actual destination position, even though we may not have set up the
* tween yet. */
float fY = m_tsDestination.pos.y;
iYOut = int(roundf(fY));
}