mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Temporarily disable some animations
This commit is contained in:
parent
ef99bb604f
commit
507668a6c7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user