Don't scroll by default; do it in OnCommand.

This commit is contained in:
Glenn Maynard
2005-09-27 03:20:07 +00:00
parent e1cf2c5484
commit 71ad5179b4
-6
View File
@@ -120,15 +120,11 @@ void ActorScroller::LoadFromNode( const CString &sDir, const XNode *pNode )
float fSecondsPerItem = 1;
float fNumItemsToDraw = 0;
float fItemPaddingStart = 0;
float fItemPaddingEnd = 0;
CString sTransformFunction;
int iSubdivisions = 1;
GET_VALUE( "SecondsPerItem", fSecondsPerItem );
GET_VALUE( "NumItemsToDraw", fNumItemsToDraw );
GET_VALUE( "ItemPaddingStart", fItemPaddingStart );
GET_VALUE( "ItemPaddingEnd", fItemPaddingEnd );
GET_VALUE( "TransformFunction", sTransformFunction );
pNode->GetAttrValue( "Subdivisions", iSubdivisions );
#undef GET_VALUE
@@ -144,8 +140,6 @@ void ActorScroller::LoadFromNode( const CString &sDir, const XNode *pNode )
iSubdivisions,
bUseMask,
false );
SetCurrentAndDestinationItem( -fItemPaddingStart );
SetDestinationItem( m_SubActors.size()-1+fItemPaddingEnd );
pNode->GetAttrValue( "QuantizePixels", m_fQuantizePixels );
}