equal
deleted
inserted
replaced
470 |
470 |
471 if ( aPointerEvent.iType == TPointerEvent::EButton1Down |
471 if ( aPointerEvent.iType == TPointerEvent::EButton1Down |
472 || aPointerEvent.iType == TPointerEvent::EButton1Up |
472 || aPointerEvent.iType == TPointerEvent::EButton1Up |
473 || aPointerEvent.iType == TPointerEvent::EDrag ) |
473 || aPointerEvent.iType == TPointerEvent::EDrag ) |
474 { |
474 { |
475 if ( aPointerEvent.iType == TPointerEvent::EButton1Up ) |
475 Hide(); |
|
476 if ( aPointerEvent.iType == TPointerEvent::EButton1Down && !IsVisible() ) |
476 { |
477 { |
477 MTouchFeedback* feedback = MTouchFeedback::Instance(); |
478 MTouchFeedback* feedback = MTouchFeedback::Instance(); |
478 if ( feedback ) |
479 if ( feedback ) |
479 { |
480 { |
480 feedback->InstantFeedback( ETouchFeedbackPopUp ); |
481 feedback->InstantFeedback( ETouchFeedbackPopUp ); |
481 } |
482 } |
482 } |
483 } |
483 |
484 |
484 Hide(); |
|
485 SetPointerCapture( EFalse ); |
485 SetPointerCapture( EFalse ); |
486 } |
486 } |
487 } |
487 } |
488 } |
488 } |
489 |
489 |