branch | RCL_3 |
changeset 4 | 8ca85d2f0db7 |
parent 0 | 2f259fa3e83a |
--- a/uifw/ganes/src/HgScrollBufferManager.cpp Tue Feb 02 01:00:49 2010 +0200 +++ b/uifw/ganes/src/HgScrollBufferManager.cpp Fri Feb 19 23:04:46 2010 +0200 @@ -166,6 +166,9 @@ // void CHgScrollBufferManager::SetPosition( TInt aIndex ) { + // If all the items fit in the buffer no need to move the buffer + if(iTotalCount <= iBufferSize) return; + TBool forceUpdate = EFalse; aIndex -= iBufferSize / 2; // normalize index to Buffer start