Emoji fixes

This commit is contained in:
Ali
2022-07-24 18:18:59 +02:00
parent ea6929fef6
commit df6e87cc3d
15 changed files with 44 additions and 55 deletions

View File

@@ -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
}