mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Disable everything
This commit is contained in:
@@ -329,7 +329,7 @@ final class BlobView: UIView {
|
|||||||
animation.timingFunction = CAMediaTimingFunction(name: .linear)
|
animation.timingFunction = CAMediaTimingFunction(name: .linear)
|
||||||
animation.fromValue = 0
|
animation.fromValue = 0
|
||||||
animation.toValue = 1
|
animation.toValue = 1
|
||||||
pop_add(animation, forKey: "blob")
|
//pop_add(animation, forKey: "blob")
|
||||||
|
|
||||||
lastSpeedLevel = speedLevel
|
lastSpeedLevel = speedLevel
|
||||||
speedLevel = 0
|
speedLevel = 0
|
||||||
|
|||||||
@@ -817,7 +817,7 @@ final class CurveView: UIView {
|
|||||||
animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
|
animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
|
||||||
animation.fromValue = 0
|
animation.fromValue = 0
|
||||||
animation.toValue = 1
|
animation.toValue = 1
|
||||||
pop_add(animation, forKey: "curve")
|
//pop_add(animation, forKey: "curve")
|
||||||
|
|
||||||
lastSpeedLevel = speedLevel
|
lastSpeedLevel = speedLevel
|
||||||
speedLevel = 0
|
speedLevel = 0
|
||||||
|
|||||||
@@ -1370,6 +1370,8 @@ final class BlobView: UIView {
|
|||||||
|
|
||||||
var level: CGFloat = 0 {
|
var level: CGFloat = 0 {
|
||||||
didSet {
|
didSet {
|
||||||
|
return;
|
||||||
|
|
||||||
CATransaction.begin()
|
CATransaction.begin()
|
||||||
CATransaction.setDisableActions(true)
|
CATransaction.setDisableActions(true)
|
||||||
let lv = minScale + (maxScale - minScale) * level
|
let lv = minScale + (maxScale - minScale) * level
|
||||||
@@ -1502,7 +1504,7 @@ final class BlobView: UIView {
|
|||||||
animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
|
animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
|
||||||
animation.fromValue = 0
|
animation.fromValue = 0
|
||||||
animation.toValue = 1
|
animation.toValue = 1
|
||||||
pop_add(animation, forKey: "blob")
|
//pop_add(animation, forKey: "blob")
|
||||||
|
|
||||||
lastSpeedLevel = speedLevel
|
lastSpeedLevel = speedLevel
|
||||||
speedLevel = 0
|
speedLevel = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user