mirror of https://github.com/xaoxuu/ProHUD
加快动画速度
This commit is contained in:
parent
0d73b11736
commit
385976768e
|
@ -218,7 +218,7 @@ internal extension UIView {
|
||||||
}
|
}
|
||||||
|
|
||||||
class func animateForGuard(animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil) {
|
class func animateForGuard(animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil) {
|
||||||
animateEaseOut(duration: 0.6, delay: 0, animations: animations, completion: completion)
|
animateEaseOut(duration: 0.45, delay: 0, animations: animations, completion: completion)
|
||||||
}
|
}
|
||||||
class func animateForGuard(animations: @escaping () -> Void) {
|
class func animateForGuard(animations: @escaping () -> Void) {
|
||||||
animateForGuard(animations: animations, completion: nil)
|
animateForGuard(animations: animations, completion: nil)
|
||||||
|
|
Loading…
Reference in New Issue