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 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Shared.IOS/UI/View.cs b/Shared.IOS/UI/View.cs index 79508f5..3858411 100644 --- a/Shared.IOS/UI/View.cs +++ b/Shared.IOS/UI/View.cs @@ -619,7 +619,7 @@ Parent.Remove(this); } - + public float AnimateSpeed = 0.6f; Animate animate = Animate.None; /// <summary> @@ -647,7 +647,7 @@ case Animate.DownToUp: frame.Y += RealView.Frame.Height; RealView.Frame = frame; - UIView.AnimateNotify(0.2f, 0.001f, UIViewAnimationOptions.CurveLinear, () => + UIView.AnimateNotify(AnimateSpeed, 0.001f, UIViewAnimationOptions.CurveLinear, () => { RealView.Frame = frameBefore; }, null); @@ -655,7 +655,7 @@ case Animate.UpToDown: frame.Y -= RealView.Frame.Height; RealView.Frame = frame; - UIView.AnimateNotify(0.2f, 0.001f, UIViewAnimationOptions.CurveLinear, () => + UIView.AnimateNotify(AnimateSpeed, 0.001f, UIViewAnimationOptions.CurveLinear, () => { RealView.Frame = frameBefore; }, null); -- Gitblit v1.8.0