Temporarily disable some animations

This commit is contained in:
Ali 2021-05-25 19:11:11 +04:00
parent ef99bb604f
commit 507668a6c7
2 changed files with 2 additions and 2 deletions

View File

@ -185,6 +185,7 @@ final class BlobView: UIView {
var level: CGFloat = 0 {
didSet {
return;
CATransaction.begin()
CATransaction.setDisableActions(true)
let lv = minScale + (maxScale - minScale) * level

View File

@ -139,7 +139,6 @@ private class CallStatusBarBackgroundNode: ASDisplayNode {
}
private func setupGradientAnimations() {
return
if let _ = self.foregroundGradientLayer.animation(forKey: "movement") {
} else {
let previousValue = self.foregroundGradientLayer.startPoint
@ -817,7 +816,7 @@ final class CurveView: UIView {
animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
animation.fromValue = 0
animation.toValue = 1
//pop_add(animation, forKey: "curve")
pop_add(animation, forKey: "curve")
lastSpeedLevel = speedLevel
speedLevel = 0