mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix tint colors
This commit is contained in:
parent
36a8f411dc
commit
92043f0241
4 changed files with 70 additions and 14 deletions
|
|
@ -662,6 +662,7 @@ public final class AvatarListContentNode: ASDisplayNode {
|
|||
|
||||
if value {
|
||||
replicatorLayer.instanceAlphaOffset = -1.0
|
||||
replicatorLayer.animate(from: 0.0 as NSNumber, to: -1.0 as NSNumber, keyPath: "instanceAlphaOffset", timingFunction: CAMediaTimingFunctionName.linear.rawValue, duration: 0.3)
|
||||
} else {
|
||||
replicatorLayer.instanceAlphaOffset = 0.0
|
||||
replicatorLayer.animate(from: -1.0 as NSNumber, to: 1.0 as NSNumber, keyPath: "instanceAlphaOffset", timingFunction: CAMediaTimingFunctionName.linear.rawValue, duration: 0.3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue