Disable everything

This commit is contained in:
Ali 2021-05-24 19:35:05 +04:00
parent 361405366f
commit 77a13c0926
3 changed files with 5 additions and 3 deletions

View File

@ -329,7 +329,7 @@ final class BlobView: UIView {
animation.timingFunction = CAMediaTimingFunction(name: .linear)
animation.fromValue = 0
animation.toValue = 1
pop_add(animation, forKey: "blob")
//pop_add(animation, forKey: "blob")
lastSpeedLevel = speedLevel
speedLevel = 0

View File

@ -817,7 +817,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

View File

@ -1370,6 +1370,8 @@ final class BlobView: UIView {
var level: CGFloat = 0 {
didSet {
return;
CATransaction.begin()
CATransaction.setDisableActions(true)
let lv = minScale + (maxScale - minScale) * level
@ -1502,7 +1504,7 @@ final class BlobView: UIView {
animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
animation.fromValue = 0
animation.toValue = 1
pop_add(animation, forKey: "blob")
//pop_add(animation, forKey: "blob")
lastSpeedLevel = speedLevel
speedLevel = 0