From f6fd8acd7c53c44187e70b4709443318a628f4b5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 16 六月 2020 13:12:33 +0800 Subject: [PATCH] 2020-06-016 --- Shared.IOS/UI/View.cs | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Shared.IOS/UI/View.cs b/Shared.IOS/UI/View.cs index 3a262de..3858411 100644 --- a/Shared.IOS/UI/View.cs +++ b/Shared.IOS/UI/View.cs @@ -18,9 +18,6 @@ { ~View() { -#if DEBUG - Shared.HDLUtils.WriteLine("=====" + GetType() + " " + Name); -#endif if (this is ViewGroup) { var viewGroup = this as ViewGroup; @@ -622,7 +619,7 @@ Parent.Remove(this); } - + public float AnimateSpeed = 0.6f; Animate animate = Animate.None; /// <summary> @@ -650,7 +647,7 @@ case Animate.DownToUp: frame.Y += RealView.Frame.Height; RealView.Frame = frame; - UIView.AnimateNotify(0.6f, 0.001f, UIViewAnimationOptions.CurveLinear, () => + UIView.AnimateNotify(AnimateSpeed, 0.001f, UIViewAnimationOptions.CurveLinear, () => { RealView.Frame = frameBefore; }, null); @@ -658,7 +655,7 @@ case Animate.UpToDown: frame.Y -= RealView.Frame.Height; RealView.Frame = frame; - UIView.AnimateNotify(0.6f, 0.001f, UIViewAnimationOptions.CurveLinear, () => + UIView.AnimateNotify(AnimateSpeed, 0.001f, UIViewAnimationOptions.CurveLinear, () => { RealView.Frame = frameBefore; }, null); -- Gitblit v1.8.0