uifw/AvKon/aknphysics/src/aknphysicsconeobserver.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 16 71dd06cfe933
child 55 aecbbf00d063
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
   317         {
   317         {
   318         iDragObserver->RegisterEventPosition( aEvent );
   318         iDragObserver->RegisterEventPosition( aEvent );
   319         }
   319         }
   320 
   320 
   321     if ( aEvent->iType == TPointerEvent::EButton1Up && 
   321     if ( aEvent->iType == TPointerEvent::EButton1Up && 
   322          iPhysics->IsPanningDrawOmitted() )
   322          iPhysics->IsPanningDrawOmitted() && 
       
   323          eventTarget == ETargetViewControl )
   323         {
   324         {
   324         // Ensure that the last panning position gets drawn if the last
   325         // Ensure that the last panning position gets drawn if the last
   325         // view redraw was omitted due to too high CPU use.
   326         // view redraw was omitted due to too high CPU use.
   326         iPhysics->DrawViewInCurrentPosition();
   327         iPhysics->DrawViewInCurrentPosition();
   327         }
   328         }