mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
GIF fixes
This commit is contained in:
@@ -54,11 +54,14 @@ func takeSampleBufferLayer() -> SampleBufferLayer {
|
||||
Queue.mainQueue().async {
|
||||
layer.flushAndRemoveImage()
|
||||
layer.setAffineTransform(CGAffineTransform.identity)
|
||||
#if targetEnvironment(simulator)
|
||||
#else
|
||||
let _ = pool.modify { list in
|
||||
var list = list
|
||||
list.append(layer)
|
||||
return list
|
||||
}
|
||||
#endif
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user