From af4101b1d8461331bc3163b738fc75d4bf67c85c Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 28 七月 2020 17:47:44 +0800
Subject: [PATCH] 2020-07-28-1
---
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