menufw/menufwui/mmwidgets/src/mmdraweranimator.cpp
branchRCL_3
changeset 35 3321d3e205b6
parent 34 5456b4e8b3a8
equal deleted inserted replaced
34:5456b4e8b3a8 35:3321d3e205b6
    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_44 % << Don't touch! Updated by Synergy at check-out.
    15  *  Version     : %version: MM_45 % << Don't touch! Updated by Synergy at check-out.
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 #include <AknUtils.h>
    19 #include <AknUtils.h>
    20 
    20 
   138                         || current.GetFloatingItemType() != EDrag )
   138                         || current.GetFloatingItemType() != EDrag )
   139                 {
   139                 {
   140                 refreshRect = (refreshRect == TRect() ) ? beforeRect : refreshRect;
   140                 refreshRect = (refreshRect == TRect() ) ? beforeRect : refreshRect;
   141                 refreshRect.BoundingRect( beforeRect );
   141                 refreshRect.BoundingRect( beforeRect );
   142                 refreshRect.BoundingRect( afterRect );
   142                 refreshRect.BoundingRect( afterRect );
       
   143                 }
       
   144             if( current.GetFloatingItemType() == EPostDragRefreshItem )
       
   145                 {
       
   146                 iDrawer.RemoveFloatingItem( i-- );
   143                 }
   147                 }
   144             }
   148             }
   145         const TInt highlightedItemIndex = iDrawer.Widget()->View()->CurrentItemIndex();
   149         const TInt highlightedItemIndex = iDrawer.Widget()->View()->CurrentItemIndex();
   146         if( iLastNotedHighlight != highlightedItemIndex )
   150         if( iLastNotedHighlight != highlightedItemIndex )
   147             {
   151             {