加快动画速度

This commit is contained in:
xaoxuu 2022-08-26 17:55:35 +08:00
parent 0d73b11736
commit 385976768e
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ internal extension UIView {
}
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) {
animateForGuard(animations: animations, completion: nil)