uifw/ganes/src/HgScroller.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 18 0aa5fbdfbc30
child 25 941195f2d488
--- a/uifw/ganes/src/HgScroller.cpp	Tue Apr 27 16:55:05 2010 +0300
+++ b/uifw/ganes/src/HgScroller.cpp	Tue May 11 16:27:42 2010 +0300
@@ -738,6 +738,7 @@
 //
 void CHgScroller::HandleDragEventL( const TPointerEvent& aEvent )
     {
+    TBool prevPanning = iPanning;
     if(!iPanning)
         {
         TInt delta = 0;
@@ -754,6 +755,9 @@
         iPanning = delta >= iPhysics->DragThreshold();
         }
 
+    if( prevPanning != iPanning )
+        DrawDeferred(); // to clear highlight
+    
     if(iPanning)
         {
         TPoint delta = iPrev - aEvent.iPosition;