mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Emoji fixes
This commit is contained in:
parent
ea6929fef6
commit
df6e87cc3d
15 changed files with 44 additions and 55 deletions
|
|
@ -456,6 +456,10 @@ private final class AnimationCacheItemWriterImpl: AnimationCacheItemWriter {
|
|||
}
|
||||
|
||||
func add(with drawingBlock: (AnimationCacheItemDrawingSurface) -> Double?, proposedWidth: Int, proposedHeight: Int) {
|
||||
if proposedWidth == 0 || proposedHeight == 0 {
|
||||
self.isFailed = true
|
||||
return
|
||||
}
|
||||
if self.isFailed || self.isFinished {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue