Пример #1
0
 public void Hide()
 {
     if (FadeDuration > 0)
     {
         //AddCaptureListener(_ignoreTouchDown);
         PreviewTouchDown += CancelTouchDownHandler;
         AddAction(ActionRepo.Sequence(
                       ActionRepo.FadeOut(FadeDuration, Interpolation.Fade),
                       ActionRepo.Immediate(() => { PreviewTouchDown -= CancelTouchDownHandler; }),
                       //ActionRepo.RemoveListener(_ignoreTouchDown, true),
                       ActionRepo.RemoveActor()
                       ));
     }
     else
     {
         Remove();
     }
 }