menufw/menufwui/mmwidgets/src/mmgrid.cpp
changeset 2 08c6ee43b396
parent 1 5315654608de
child 4 4d54b72983ae
equal deleted inserted replaced
1:5315654608de 2:08c6ee43b396
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:
    14 * Description:
    15 *  Version     : %version: MM_94 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: MM_95 % << Don't touch! Updated by Synergy at check-out.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #include <AknsDrawUtils.h>
    20 #include <AknsDrawUtils.h>
   248     TInt itemUnderPointerIndex = KErrNotFound;
   248     TInt itemUnderPointerIndex = KErrNotFound;
   249 
   249 
   250     if ( aPointerEvent.iType == TPointerEvent::EButton1Up ||
   250     if ( aPointerEvent.iType == TPointerEvent::EButton1Up ||
   251             aPointerEvent.iType == TPointerEvent::EButton1Down )
   251             aPointerEvent.iType == TPointerEvent::EButton1Down )
   252         {
   252         {
       
   253         iListBoxFlags &= ~ELeftDownInViewRect; // prevent kinetic scrolling
   253         CAknGrid::HandlePointerEventL( aPointerEvent );
   254         CAknGrid::HandlePointerEventL( aPointerEvent );
   254         }
   255         }
   255     else if ( View()->XYPosToItemIndex(
   256     else if ( View()->XYPosToItemIndex(
   256             aPointerEvent.iPosition, itemUnderPointerIndex ) )
   257             aPointerEvent.iPosition, itemUnderPointerIndex ) )
   257         {
   258         {